Heart icon
glyphs-poly:heart
The Heart icon (glyphs-poly:heart) is a free SVG icon from the Glyphs Poly set by Goran Spasojevic. It is drawn on a 80 × 80 grid. Glyphs Poly icons are released under the MIT 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
- Glyphs Poly
- Author
- Goran Spasojevic
- License
- MIT
- Size
- 80 × 80
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="none" fill-rule="evenodd" clip-rule="evenodd"><path fill="#eb5757" d="M17.373 20.806a14 14 0 0 0 0 19.799l14.142 14.142l7.071 7.07a2 2 0 0 0 2.829 0l7.07-7.07l14.143-14.142a14 14 0 0 0-19.8-19.8l-2.137 2.138a.977.977 0 0 1-1.382 0l-2.137-2.137a14 14 0 0 0-19.799 0"/><path fill="#f2f2f2" d="M28.687 30.403a7 7 0 0 0 0 9.9L40 51.615l11.314-11.314a7 7 0 1 0-9.9-9.9l-1.068 1.07l-.346.345l-.345-.346l-1.069-1.068a7 7 0 0 0-9.9 0"/></g></svg>How to use the Heart icon
React
import { Icon } from "@iconify/react";
<Icon icon="glyphs-poly:heart" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="glyphs-poly:heart" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="glyphs-poly:heart" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs-poly--heart]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/glyphs-poly -->
<div class="i-glyphs-poly:heart"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="glyphs-poly:heart"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/glyphs-poly/heart.svg" alt="Heart icon" width="24" height="24">Related icons in Glyphs Poly
Heart icon in other icon sets
Heart icon FAQ
Is the Heart icon free for commercial use?
Yes. Glyphs Poly icons are released under the MIT 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="glyphs-poly: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/glyphs-poly/heart.svg" alt="Heart icon">, or paste the SVG code inline to style it with CSS.