ICONYZ
English
Hearts Sharp icon from Keyline Icons

Hearts Sharp icon

keyline-icons:hearts-sharp

The Hearts Sharp icon (keyline-icons:hearts-sharp) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
Keyline Icons
Author
Keyline Icons
License
MIT
Size
24 × 24
Tags
heartssharp, heart
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M8 21C5.2626 18.662 2 16.65 2 13.65C2 11.7446 3.6117 10.2 5.6 10.2C6.5 10.2 7.3056 10.5275 8 11.1C8.6944 10.5275 9.5 10.2 10.4 10.2C12.3883 10.2 14 11.7446 14 13.65C14 16.65 10.7374 18.662 8 21ZM9.942 7.1385L10.0086 6.21C10.1372 4.4166 11.6959 3 13.6 3C14.5 3 15.3056 3.3275 16 3.9C16.6944 3.3275 17.5 3 18.4 3C20.3883 3 22 4.5446 22 6.45C22 8.7806 20.031 10.5149 17.8689 12.2689L17.4989 12.5691"/></svg>

How to use the Hearts Sharp icon

React

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

<Icon icon="keyline-icons:hearts-sharp" width="24" />

Vue

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

<template>
  <Icon icon="keyline-icons:hearts-sharp" width="24" />
</template>

Svelte

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

<Icon icon="keyline-icons:hearts-sharp" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--hearts-sharp]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:hearts-sharp"></div>

Web component

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

<iconify-icon icon="keyline-icons:hearts-sharp"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/hearts-sharp.svg" alt="Hearts Sharp icon" width="24" height="24">

Related icons in Keyline Icons

Hearts Sharp icon FAQ

Is the Hearts Sharp icon free for commercial use?

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

How do I use the Hearts Sharp icon in React?

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

How do I add the Hearts Sharp icon to a web page?

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

Browse all Keyline Icons →