ICONYZ
English
Favourite Square icon from Huge Icons

Favourite Square icon

hugeicons:favourite-square

The Favourite Square icon (hugeicons:favourite-square) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Tags
favouritesquare
Download SVG

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-linejoin="round" stroke-width="1.5"><path d="M2 12c0-4.243 0-6.364 1.318-7.682S6.758 3 11 3s6.364 0 7.682 1.318S20 7.758 20 12s0 6.364-1.318 7.682S15.242 21 11 21s-6.364 0-7.682-1.318S2 16.242 2 12Z"/><path d="M11 16.5s-5-3.177-5-6.25C6 8.731 7.053 7.5 8.5 7.5c.75 0 1.5.265 2.5 1.324c1-1.06 1.75-1.324 2.5-1.324c1.447 0 2.5 1.231 2.5 2.75c0 3.073-5 6.25-5 6.25Z"/></g></svg>

How to use the Favourite Square icon

React

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

<Icon icon="hugeicons:favourite-square" width="24" />

Vue

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

<template>
  <Icon icon="hugeicons:favourite-square" width="24" />
</template>

Svelte

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

<Icon icon="hugeicons:favourite-square" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--favourite-square]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:favourite-square"></div>

Web component

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

<iconify-icon icon="hugeicons:favourite-square"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/favourite-square.svg" alt="Favourite Square icon" width="24" height="24">

Related icons in Huge Icons

Favourite Square icon FAQ

Is the Favourite Square icon free for commercial use?

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

How do I use the Favourite Square icon in React?

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

How do I add the Favourite Square icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/favourite-square.svg" alt="Favourite Square icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →