Heart 16 icon
octicon:heart-16
The Heart 16 icon (octicon:heart-16) is a free SVG icon from the Octicons set by GitHub. It is drawn on a 24 × 24 grid. Octicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m8 14.25l.345.666a.75.75 0 0 1-.69 0l-.008-.004l-.018-.01a7 7 0 0 1-.31-.17a22 22 0 0 1-3.434-2.414C2.045 10.731 0 8.35 0 5.5C0 2.836 2.086 1 4.25 1C5.797 1 7.153 1.802 8 3.02C8.847 1.802 10.203 1 11.75 1C13.914 1 16 2.836 16 5.5c0 2.85-2.045 5.231-3.885 6.818a22 22 0 0 1-3.744 2.584l-.018.01l-.006.003h-.002ZM4.25 2.5c-1.336 0-2.75 1.164-2.75 3c0 2.15 1.58 4.144 3.365 5.682A20.6 20.6 0 0 0 8 13.393a20.6 20.6 0 0 0 3.135-2.211C12.92 9.644 14.5 7.65 14.5 5.5c0-1.836-1.414-3-2.75-3c-1.373 0-2.609.986-3.029 2.456a.749.749 0 0 1-1.442 0C6.859 3.486 5.623 2.5 4.25 2.5"/></svg>How to use the Heart 16 icon
React
import { Icon } from "@iconify/react";
<Icon icon="octicon:heart-16" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="octicon:heart-16" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="octicon:heart-16" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[octicon--heart-16]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/octicon -->
<div class="i-octicon:heart-16"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="octicon:heart-16"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/octicon/heart-16.svg" alt="Heart 16 icon" width="24" height="24">Related icons in Octicons
Heart 16 icon in other icon sets
Heart 16 icon FAQ
Is the Heart 16 icon free for commercial use?
Yes. Octicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Heart 16 icon in React?
Install @iconify/react and render <Icon icon="octicon:heart-16" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Heart 16 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/octicon/heart-16.svg" alt="Heart 16 icon">, or paste the SVG code inline to style it with CSS.