ICONYZ
English
Favorite icon from Mono Icons

Favorite icon

mi:favorite

The Favorite icon (mi:favorite) is a free SVG icon from the Mono Icons set by Mono. It is drawn on a 24 × 24 grid. Mono Icons 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.

Icon set
Mono Icons
Author
Mono
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2.5a1 1 0 0 1 .894.553l2.58 5.158l5.67.824a1 1 0 0 1 .554 1.706l-4.127 4.024l.928 5.674a1 1 0 0 1-1.455 1.044L12 18.807l-5.044 2.676a1 1 0 0 1-1.455-1.044l.928-5.674l-4.127-4.024a1 1 0 0 1 .554-1.706l5.67-.824l2.58-5.158A1 1 0 0 1 12 2.5m0 3.236l-1.918 3.836a1 1 0 0 1-.75.543l-4.184.608l3.05 2.973a1 1 0 0 1 .289.878L7.8 18.771l3.731-1.98a1 1 0 0 1 .938 0l3.731 1.98l-.687-4.197a1 1 0 0 1 .289-.877l3.05-2.974l-4.183-.608a1 1 0 0 1-.75-.543z"/></svg>

How to use the Favorite icon

React

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

<Icon icon="mi:favorite" width="24" />

Vue

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

<template>
  <Icon icon="mi:favorite" width="24" />
</template>

Svelte

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

<Icon icon="mi:favorite" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mi--favorite]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/mi -->
<div class="i-mi:favorite"></div>

Web component

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

<iconify-icon icon="mi:favorite"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mi/favorite.svg" alt="Favorite icon" width="24" height="24">

Favorite icon in other icon sets

Favorite icon FAQ

Is the Favorite icon free for commercial use?

Yes. Mono Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Favorite icon in React?

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

How do I add the Favorite icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mi/favorite.svg" alt="Favorite icon">, or paste the SVG code inline to style it with CSS.

Browse all Mono Icons →