ICONYZ
English
Gift icon from Mage Icons

Gift icon

mage:gift

The Gift icon (mage:gift) is a free SVG icon from the Mage Icons set by MageIcons. It is drawn on a 24 × 24 grid. Mage 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
Mage Icons
Author
MageIcons
License
Apache-2.0
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="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.806 12v7.194A2.056 2.056 0 0 0 6.86 21.25h10.28a2.056 2.056 0 0 0 2.055-2.056V12m.513-5.139H4.292c-.852 0-1.542.69-1.542 1.542v2.055c0 .852.69 1.542 1.542 1.542h15.416c.852 0 1.542-.69 1.542-1.542V8.403c0-.852-.69-1.542-1.542-1.542m-12.785 0C6.018 5.71 5.833 2.75 8.917 2.75c3.494 0 3.032 4.111 3.083 4.111s-.36-4.111 3.083-4.111c3.084 0 2.878 2.96 1.974 4.111M12 21.25V6.861"/></svg>

How to use the Gift icon

React

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

<Icon icon="mage:gift" width="24" />

Vue

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

<template>
  <Icon icon="mage:gift" width="24" />
</template>

Svelte

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

<Icon icon="mage:gift" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="mage:gift"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mage/gift.svg" alt="Gift icon" width="24" height="24">

Related icons in Mage Icons

Gift icon in other icon sets

Gift icon FAQ

Is the Gift icon free for commercial use?

Yes. Mage Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Gift icon in React?

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

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

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

Browse all Mage Icons →