Heart icon
fa7-solid:heart
The Heart icon (fa7-solid:heart) is a free SVG icon from the Font Awesome Solid set by Dave Gandy. It is drawn on a 640 × 640 grid. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 640 × 640
- Category
- Health, Medical, Interfaces, Shapes, Games, Maps, Fitness, Charity, Objects, Payments & Shopping, Social
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="640" viewBox="0 0 640 640"><path fill="currentColor" d="m305 151.1l15 20.7l15-20.7C360 116.5 400.2 96 442.9 96C516.4 96 576 155.6 576 229.1v2.6c0 112.2-139.9 242.5-212.9 298.2c-12.4 9.4-27.6 14.1-43.1 14.1s-30.8-4.6-43.1-14.1C203.9 474.2 64 343.9 64 231.7v-2.6C64 155.6 123.6 96 197.1 96c42.7 0 82.9 20.5 107.9 55.1"/></svg>How to use the Heart icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa7-solid:heart" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa7-solid:heart" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa7-solid:heart" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa7-solid--heart]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa7-solid -->
<div class="i-fa7-solid:heart"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa7-solid:heart"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa7-solid/heart.svg" alt="Heart icon" width="24" height="24">Related icons in Font Awesome Solid
Heart icon in other icon sets
Heart icon FAQ
Is the Heart icon free for commercial use?
Yes. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Heart icon in React?
Install @iconify/react and render <Icon icon="fa7-solid:heart" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Heart icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa7-solid/heart.svg" alt="Heart icon">, or paste the SVG code inline to style it with CSS.