Heart Filled icon
codicon:heart-filled
The Heart Filled icon (codicon:heart-filled) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons 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
- Codicons
- Author
- Microsoft Corporation
- License
- CC-BY-4.0
- Size
- 24 × 24
- Tags
- heartfilled
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8.022 14.072a.5.5 0 0 1-.354-.146L2.104 8.361A3.74 3.74 0 0 1 .998 5.699c0-1.754 1.328-3.698 3.73-3.698c.975 0 1.951.357 2.665 1.07l.602.601l.592-.595a3.73 3.73 0 0 1 2.642-1.074c2.975 0 3.769 2.682 3.769 3.75c0 .957-.362 1.913-1.086 2.641l-5.536 5.533a.5.5 0 0 1-.354.146z"/></svg>How to use the Heart Filled icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:heart-filled" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:heart-filled" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:heart-filled" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--heart-filled]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:heart-filled"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:heart-filled"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/heart-filled.svg" alt="Heart Filled icon" width="24" height="24">Related icons in Codicons
Heart Filled icon in other icon sets
Heart Filled icon FAQ
Is the Heart Filled icon free for commercial use?
Yes. Codicons 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 Filled icon in React?
Install @iconify/react and render <Icon icon="codicon:heart-filled" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Heart Filled icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/heart-filled.svg" alt="Heart Filled icon">, or paste the SVG code inline to style it with CSS.