Heart icon
token:heart
The Heart icon (token:heart) is a free SVG icon from the Web3 Icons set by 0xa3k5. It is drawn on a 24 × 24 grid. Web3 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
- Web3 Icons
- Author
- 0xa3k5
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18.667 12.607c0-3.127-1.934-5.607-5.4-5.607c-1.667 0-2.98.52-3.933 1.487V3h-4v18a55 55 0 0 1 4-1.013v-6.12c0-2.407 1.166-3.534 2.906-3.534c1.7 0 2.427 1.08 2.427 3.107v5.667q2.05-.233 4-.294V12.6z"/></svg>How to use the Heart icon
React
import { Icon } from "@iconify/react";
<Icon icon="token:heart" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="token:heart" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="token:heart" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[token--heart]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/token -->
<div class="i-token:heart"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="token:heart"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/token/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. Web3 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="token: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/token/heart.svg" alt="Heart icon">, or paste the SVG code inline to style it with CSS.