Gift icon
typcn:gift
The Gift icon (typcn:gift) is a free SVG icon from the Typicons set by Stephen Hutchings. It is drawn on a 24 × 24 grid. Typicons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Typicons
- Author
- Stephen Hutchings
- License
- CC-BY-SA-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 8h-2.352c.219-.457.352-.961.352-1.5C17 4.57 15.43 3 13.5 3c-.979 0-1.864.407-2.5 1.058A3.5 3.5 0 0 0 8.5 3C6.57 3 5 4.57 5 6.5c0 .539.133 1.043.352 1.5H3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1v5c0 1.654 1.346 3 3 3h10c1.654 0 3-1.346 3-3v-5a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1m-1 4h-5v-2h5zm-8-5h2v1h-2zm2 3v2h-2v-2zm1.5-5c.827 0 1.5.673 1.5 1.5S14.327 8 13.5 8a1.4 1.4 0 0 1-.5-.097V7a.99.99 0 0 0-.913-.982A1.5 1.5 0 0 1 13.5 5M7 6.5C7 5.673 7.673 5 8.5 5c.657 0 1.211.428 1.413 1.018A.99.99 0 0 0 9 7v.903A1.4 1.4 0 0 1 8.5 8C7.673 8 7 7.327 7 6.5M9 10v2H4v-2zM6 20c-.551 0-1-.449-1-1v-6h4v7zm4 0v-7h2v7zm6 0h-3v-7h4v6c0 .551-.449 1-1 1"/></svg>How to use the Gift icon
React
import { Icon } from "@iconify/react";
<Icon icon="typcn:gift" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="typcn:gift" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="typcn:gift" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[typcn--gift]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/typcn -->
<div class="i-typcn:gift"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="typcn:gift"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/typcn/gift.svg" alt="Gift icon" width="24" height="24">Gift icon in other icon sets
Gift icon FAQ
Is the Gift icon free for commercial use?
Yes. Typicons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Gift icon in React?
Install @iconify/react and render <Icon icon="typcn: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/typcn/gift.svg" alt="Gift icon">, or paste the SVG code inline to style it with CSS.