Heart icon
guidance:heart
The Heart icon (guidance:heart) is a free SVG icon from the Guidance set by Streamline. It is drawn on a 24 × 24 grid. Guidance icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Guidance
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- UI
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" d="M12 8.5V7.486m0 .264c0-2.9 2.35-5.25 5.25-5.25s5.25 2.382 5.25 5.282c0 1.56-.687 3.055-1.88 4.062l-5.657 4.776A8.35 8.35 0 0 0 12 23a8.35 8.35 0 0 0-2.963-6.38L3.38 11.844A5.33 5.33 0 0 1 1.5 7.782c0-2.9 2.35-5.282 5.25-5.282S12 4.85 12 7.75Z"/></svg>How to use the Heart icon
React
import { Icon } from "@iconify/react";
<Icon icon="guidance:heart" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="guidance:heart" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="guidance:heart" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[guidance--heart]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/guidance -->
<div class="i-guidance:heart"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="guidance:heart"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/guidance/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. Guidance icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Heart icon in React?
Install @iconify/react and render <Icon icon="guidance: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/guidance/heart.svg" alt="Heart icon">, or paste the SVG code inline to style it with CSS.