Heart Line Duotone icon
solar:heart-line-duotone
The Heart Line Duotone icon (solar:heart-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
- heartline, lineduotone, heartlineduotone
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-linecap="round" stroke-width="1.5"><path d="M12 5.50063C7.50016 0.825464 2 4.27416 2 9.1371C2 14 6.01943 16.5914 8.96173 18.9109C10 19.7294 11 20.5 12 20.5"/><path d="M12 5.50063C16.4998 0.825464 22 4.27416 22 9.1371C22 14 17.9806 16.5914 15.0383 18.9109C14 19.7294 13 20.5 12 20.5" opacity=".5"/></g></svg>How to use the Heart Line Duotone icon
React
import { Icon } from "@iconify/react";
<Icon icon="solar:heart-line-duotone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="solar:heart-line-duotone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="solar:heart-line-duotone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--heart-line-duotone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:heart-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:heart-line-duotone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/solar/heart-line-duotone.svg" alt="Heart Line Duotone icon" width="24" height="24">Related icons in Solar
Heart Line Duotone icon FAQ
Is the Heart 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 Heart Line Duotone icon in React?
Install @iconify/react and render <Icon icon="solar:heart-line-duotone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Heart Line Duotone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/solar/heart-line-duotone.svg" alt="Heart Line Duotone icon">, or paste the SVG code inline to style it with CSS.