ICONYZ
English
Heart 20 icon from Energy Icons

Heart 20 icon

energy-icons:heart-20

The Heart 20 icon (energy-icons:heart-20) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 20 × 20 grid. Energy 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
Energy Icons
Author
Sam Passmore
License
MIT
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M17 7.5a3.68 3.68 0 0 0-3.667-3.667c-1.258 0-2.34.718-2.886 1.808a.5.5 0 0 1-.894 0c-.545-1.09-1.628-1.808-2.886-1.808A3.68 3.68 0 0 0 3 7.5c0 1.125.423 2.257 1.097 3.343c.672 1.084 1.578 2.092 2.497 2.96a25.4 25.4 0 0 0 3.36 2.656l.046.03l.047-.03a25.4 25.4 0 0 0 3.36-2.656c.918-.868 1.824-1.876 2.496-2.96C16.577 9.757 17 8.625 17 7.5m1 0c0 1.375-.515 2.69-1.247 3.87c-.734 1.182-1.703 2.257-2.66 3.16a26.4 26.4 0 0 1-3.741 2.923l-.067.041l-.017.01l-.005.005h-.002a.5.5 0 0 1-.46.033l-.062-.032l-.002-.001l-.005-.004l-.017-.01l-.067-.042l-.246-.16a26.4 26.4 0 0 1-3.496-2.764c-.956-.902-1.925-1.977-2.659-3.159C2.515 10.19 2 8.875 2 7.5a4.68 4.68 0 0 1 4.667-4.667c1.36 0 2.557.64 3.333 1.648a4.18 4.18 0 0 1 3.333-1.648A4.68 4.68 0 0 1 18 7.5"/></svg>

How to use the Heart 20 icon

React

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

<Icon icon="energy-icons:heart-20" width="24" />

Vue

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

<template>
  <Icon icon="energy-icons:heart-20" width="24" />
</template>

Svelte

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

<Icon icon="energy-icons:heart-20" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="energy-icons:heart-20"></iconify-icon>

HTML image

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

Related icons in Energy Icons

Heart 20 icon in other icon sets

Heart 20 icon FAQ

Is the Heart 20 icon free for commercial use?

Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Heart 20 icon in React?

Install @iconify/react and render <Icon icon="energy-icons:heart-20" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Heart 20 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/heart-20.svg" alt="Heart 20 icon">, or paste the SVG code inline to style it with CSS.

Browse all Energy Icons →