Gift Solid icon
heroicons:gift-solid
The Gift Solid icon (heroicons:gift-solid) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
- Tags
- giftsolid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9 3.255a1.875 1.875 0 1 0 0 3.75h1.875v4.5H3A1.875 1.875 0 0 1 1.125 9.63v-.75c0-1.036.84-1.875 1.875-1.875h3.193a3.375 3.375 0 0 1 5.432-3.996a3.375 3.375 0 0 1 5.432 3.997H21a1.874 1.874 0 0 1 1.875 1.874v.75c0 1.035-.84 1.875-1.875 1.875h-8.625v-4.5h1.875a1.875 1.875 0 1 0-1.875-1.875v1.875h-1.5V5.13c0-1.036-.84-1.875-1.875-1.875m1.875 9.75h-8.25v6.75a2.25 2.25 0 0 0 2.25 2.25h6zm1.5 0v9h6.75a2.25 2.25 0 0 0 2.25-2.25v-6.75z"/></svg>How to use the Gift Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:gift-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:gift-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:gift-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--gift-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:gift-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:gift-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/gift-solid.svg" alt="Gift Solid icon" width="24" height="24">Related icons in HeroIcons
Gift Solid icon in other icon sets
Gift Solid icon FAQ
Is the Gift Solid icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Gift Solid icon in React?
Install @iconify/react and render <Icon icon="heroicons:gift-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Gift Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/gift-solid.svg" alt="Gift Solid icon">, or paste the SVG code inline to style it with CSS.