ICONYZ
English
Heart icon from Elegant

Heart icon

et:heart

The Heart icon (et:heart) is a free SVG icon from the Elegant set by Kenny Sing. It is drawn on a 37 × 32 grid. Elegant icons are released under the GPL 3.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Elegant
Author
Kenny Sing
License
GPL-3.0-or-later
Size
37 × 32
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="37" height="32" viewBox="0 0 37 32"><path fill="currentColor" d="M27 0a9.97 9.97 0 0 0-6.704 2.595A10 10 0 0 0 18.5 4.749a10 10 0 0 0-1.796-2.155A9.97 9.97 0 0 0 10 0C4.486 0 0 4.486 0 10c0 3.722 1.158 6.66 3.871 9.825c3.942 4.6 13.919 11.62 14.342 11.917a.5.5 0 0 0 .574 0c.423-.297 10.4-7.317 14.343-11.917C35.842 16.66 37 13.722 37 10c0-5.514-4.486-10-10-10m5.371 19.175C28.876 23.251 20.191 29.516 18.5 30.72c-1.691-1.204-10.376-7.469-13.87-11.545C2.085 16.206 1 13.462 1 10c0-4.963 4.038-9 9-9c2.227 0 4.37.829 6.032 2.335a9 9 0 0 1 2.02 2.664c.17.34.726.34.896 0a9 9 0 0 1 2.02-2.663A8.97 8.97 0 0 1 27 1c4.962 0 9 4.037 9 9c0 3.462-1.085 6.206-3.629 9.175"/></svg>

How to use the Heart icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Heart icon in other icon sets

Heart icon FAQ

Is the Heart icon free for commercial use?

Yes. Elegant icons are released under the GPL 3.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.

How do I use the Heart icon in React?

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

Browse all Elegant icons →