ICONYZ
English
Heart icon from Font Awesome 4

Heart icon

fa:heart

The Heart icon (fa:heart) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1792 × 1536 grid. Font Awesome 4 icons are released under the Open Font 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
Font Awesome 4
Author
Dave Gandy
License
OFL-1.1
Size
1792 × 1536
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1792" height="1536" viewBox="0 0 1792 1536"><path fill="currentColor" d="M896 1536q-26 0-44-18L228 916q-10-8-27.5-26T145 824.5T77 727T23.5 606T0 468q0-220 127-344T478 0q62 0 126.5 21.5t120 58T820 148t76 68q36-36 76-68t95.5-68.5t120-58T1314 0q224 0 351 124t127 344q0 221-229 450l-623 600q-18 18-44 18"/></svg>

How to use the Heart icon

React

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

<Icon icon="fa:heart" width="24" />

Vue

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

<template>
  <Icon icon="fa:heart" width="24" />
</template>

Svelte

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

<Icon icon="fa:heart" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fa:heart"></iconify-icon>

HTML image

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

Related icons in Font Awesome 4

Heart icon in other icon sets

Heart icon FAQ

Is the Heart icon free for commercial use?

Yes. Font Awesome 4 icons are released under the Open Font License, which allows use in personal and commercial projects.

How do I use the Heart icon in React?

Install @iconify/react and render <Icon icon="fa: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/fa/heart.svg" alt="Heart icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 4 icons →