Heart icon
memory:heart
The Heart icon (memory:heart) is a free SVG icon from the Memory Icons set by Pictogrammers. It is drawn on a 22 × 22 grid. Memory Icons are released under the Apache 2.0 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
- Memory Icons
- Author
- Pictogrammers
- License
- Apache-2.0
- Size
- 22 × 22
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22"><path fill="currentColor" d="M12 20h-2v-1H9v-1H8v-1H7v-1H6v-1H5v-1H4v-1H3v-1H2v-2H1V5h1V4h1V3h1V2h5v1h1v1h2V3h1V2h5v1h1v1h1v1h1v5h-1v2h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1zm-7-9v1h1v1h1v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h1v-1h1v-1h1V9h1V6h-1V5h-1V4h-3v1h-1v1h-1v1h-2V6H9V5H8V4H5v1H4v1H3v3h1v2z"/></svg>How to use the Heart icon
React
import { Icon } from "@iconify/react";
<Icon icon="memory:heart" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="memory:heart" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="memory:heart" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[memory--heart]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/memory -->
<div class="i-memory:heart"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="memory:heart"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/memory/heart.svg" alt="Heart icon" width="24" height="24">Related icons in Memory Icons
Heart icon in other icon sets
Heart icon FAQ
Is the Heart icon free for commercial use?
Yes. Memory Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Heart icon in React?
Install @iconify/react and render <Icon icon="memory:heart" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Heart icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/memory/heart.svg" alt="Heart icon">, or paste the SVG code inline to style it with CSS.