- Category
- general
- Styles
- Outline
- Component
- IconHearts
- License
- MIT · Paweł Kuna
- Files
-
outline/hearts.svg
Hearts icon
Download the Hearts icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- love
- valentine
- romance
- romantic
- like
- favorite
- couple
Size
Stroke
Color
Code
Copy it the way you use it
hearts.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="M14.017 18l-2.017 2l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 0 1 8.153 5.784" />
<path d="M15.99 20l4.197 -4.223a2.81 2.81 0 0 0 0 -3.948a2.747 2.747 0 0 0 -3.91 -.007l-.28 .282l-.279 -.283a2.747 2.747 0 0 0 -3.91 -.007a2.81 2.81 0 0 0 -.007 3.948l4.182 4.238l.007 0" />
</svg> Use the Hearts icon
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 { IconHearts } from '@tabler/icons-react';
<IconHearts size={24} stroke={2} />Read the React guideVue example
import { IconHearts } from '@tabler/icons-vue';
<IconHearts :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconHearts } from '@tabler/icons-svelte-runes';
<IconHearts size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related