ICONYZ
English
Hearts Line Duotone icon from Solar

Hearts Line Duotone icon

solar:hearts-line-duotone

The Hearts Line Duotone icon (solar:hearts-line-duotone) is a free SVG icon from the Solar set by 480 Design. It is drawn on a 24 × 24 grid. Solar 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
Solar
Author
480 Design
License
CC-BY-4.0
Size
24 × 24
Category
Like
Tags
heartsline, lineduotone, heartslineduotone, heart
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"><path d="M16.5 21C15.95 21 15.4 20.5971 14.829 20.1692C14.6903 20.0653 14.5474 19.9604 14.4018 19.8538C12.8482 18.7158 11 17.3841 11 15.0595C11 12.5172 14.0251 10.7142 16.5 13.1584C18.1619 11.5171 20.0718 11.7909 21.1474 12.9177C21.6735 13.4689 22 14.2243 22 15.0595C22 17.6018 19.7893 18.9566 18.171 20.1692C17.6 20.5971 17.05 21 16.5 21Z"/><path d="M21.1474 12.9177C21.6771 11.8105 22 10.5602 22 9.11901C22 4.03436 16.4998 0.428415 12 5.31675C7.50016 0.428415 2 4.03436 2 9.11901C2 14.2037 6.01943 16.9132 8.96173 19.3384C10 20.1942 11 21 12 21C12.7942 21 13.5884 20.4917 14.4018 19.8538" opacity=".5"/></g></svg>

How to use the Hearts Line Duotone icon

React

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

<Icon icon="solar:hearts-line-duotone" width="24" />

Vue

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

<template>
  <Icon icon="solar:hearts-line-duotone" width="24" />
</template>

Svelte

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

<Icon icon="solar:hearts-line-duotone" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--hearts-line-duotone]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:hearts-line-duotone"></div>

Web component

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

<iconify-icon icon="solar:hearts-line-duotone"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/solar/hearts-line-duotone.svg" alt="Hearts Line Duotone icon" width="24" height="24">

Related icons in Solar

Hearts Line Duotone icon FAQ

Is the Hearts Line Duotone icon free for commercial use?

Yes. Solar 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 Hearts Line Duotone icon in React?

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

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

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

Browse all Solar icons →