ICONYZ
English
Heart Solid icon from Line Awesome

Heart Solid icon

la:heart-solid

The Heart Solid icon (la:heart-solid) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Line Awesome
Author
Icons8
License
Apache-2.0
Size
32 × 32
Category
Social
Tags
heartsolid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M22.5 5c-2.892 0-5.327 1.804-6.5 2.854C14.827 6.804 12.392 5 9.5 5C5.364 5 2 8.364 2 12.5c0 2.59 2.365 4.947 2.46 5.041L16 29.081l11.534-11.534C27.635 17.447 30 15.09 30 12.5C30 8.364 26.636 5 22.5 5"/></svg>

How to use the Heart Solid icon

React

import { Icon } from "@iconify/react";

<Icon icon="la:heart-solid" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="la:heart-solid" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="la:heart-solid" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[la--heart-solid]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/la -->
<div class="i-la:heart-solid"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="la:heart-solid"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/la/heart-solid.svg" alt="Heart Solid icon" width="24" height="24">

Related icons in Line Awesome

Heart Solid icon in other icon sets

Heart Solid icon FAQ

Is the Heart Solid icon free for commercial use?

Yes. Line Awesome icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Heart Solid icon in React?

Install @iconify/react and render <Icon icon="la:heart-solid" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Heart Solid icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/la/heart-solid.svg" alt="Heart Solid icon">, or paste the SVG code inline to style it with CSS.

Browse all Line Awesome icons →