Skip to content
tablericons

general

Heart icon

Download the Heart icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.

  • love
  • like
  • favorite
  • favourite
  • wishlist
  • valentine
  • emotion
  • health
  • rating
Style
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Category
general
Styles
Outline, filled
Component
IconHeart
License
MIT · Paweł Kuna

Code

Copy it the way you use it

heart.svg
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
 
>
  <path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" />
</svg>

Use the Heart icon

Use a heart for favorites, wishlists, or appreciation. A filled heart can show a saved state. Name the action on the button, such as Save item or Remove from favorites.

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconHeart } from '@tabler/icons-react';

<IconHeart size={24} stroke={2} />
Read the React guide
Vue example
import { IconHeart } from '@tabler/icons-vue';

<IconHeart :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconHeart } from '@tabler/icons-svelte-runes';

<IconHeart size={24} stroke={2} />
Read the Svelte guide

Compare variants and alternatives

Related

Related icons

See all 788 general icons