ICONYZ
English
Heart Line icon from Sargam Icons

Heart Line icon

si:heart-line

The Heart Line icon (si:heart-line) is a free SVG icon from the Sargam Icons set by Abhimanyu Rana. It is drawn on a 24 × 24 grid. Sargam 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
Sargam Icons
Author
Abhimanyu Rana
License
MIT
Size
24 × 24
Tags
heartline
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-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16.696 3C14.652 3 12.887 4.197 12 5.943C11.113 4.197 9.348 3 7.304 3C4.374 3 2 5.457 2 8.481s1.817 5.796 4.165 8.073S12 21 12 21s3.374-2.133 5.835-4.446C20.46 14.088 22 11.514 22 8.481S19.626 3 16.696 3"/></svg>

How to use the Heart Line icon

React

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

<Icon icon="si:heart-line" width="24" />

Vue

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

<template>
  <Icon icon="si:heart-line" width="24" />
</template>

Svelte

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

<Icon icon="si:heart-line" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[si--heart-line]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="si:heart-line"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/si/heart-line.svg" alt="Heart Line icon" width="24" height="24">

Related icons in Sargam Icons

Heart Line icon in other icon sets

Heart Line icon FAQ

Is the Heart Line icon free for commercial use?

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

How do I use the Heart Line icon in React?

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

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

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

Browse all Sargam Icons →