Gift Card icon
hugeicons:gift-card
The Gift Card icon (hugeicons:gift-card) 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
- giftcard
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-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M2 10c0-2.828 0-4.243.879-5.121C3.757 4 5.172 4 8 4h8c2.828 0 4.243 0 5.121.879C22 5.757 22 7.172 22 10v4c0 2.828 0 4.243-.879 5.121C20.243 20 18.828 20 16 20H8c-2.828 0-4.243 0-5.121-.879C2 18.243 2 16.828 2 14z"/><path d="M6 9.904C6 5.36 12 9.99 12 13H8.5C6.763 13 6 11.47 6 9.904m12 0C18 5.36 12 9.99 12 13h3.5c1.737 0 2.5-1.53 2.5-3.096M12 4v16M2 13h20m-7 3l-3-3l-3 3"/></g></svg>How to use the Gift Card icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:gift-card" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:gift-card" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:gift-card" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--gift-card]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:gift-card"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:gift-card"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/gift-card.svg" alt="Gift Card icon" width="24" height="24">Related icons in Huge Icons
Gift Card icon in other icon sets
Gift Card icon FAQ
Is the Gift Card 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 Gift Card icon in React?
Install @iconify/react and render <Icon icon="hugeicons:gift-card" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Gift Card icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/gift-card.svg" alt="Gift Card icon">, or paste the SVG code inline to style it with CSS.