Gift Card icon
andrsrxn:gift-card
The Gift Card icon (andrsrxn:gift-card) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Finance, Shopping
- Tags
- giftcard
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M7.06 12.38c.94 0 1.41 0 1.7-.29c.3-.3.3-.76.3-1.7v-3.8c0-.95 0-1.42-.3-1.72c-.29-.29-.76-.29-1.7-.29H5.55c-1.8 0-2.69 0-3.26.53l-.11.11c-.54.58-.54 1.47-.54 3.26c0 1.8 0 2.69.54 3.26l.1.11c.58.53 1.48.53 3.27.53zm4.24-.76c-.95 0-1.42 0-1.71.29c-.3.3-.3.76-.3 1.7v3.8c0 .95 0 1.42.3 1.72c.3.29.76.29 1.7.29h7.16c1.8 0 2.69 0 3.26-.53l.11-.11c.54-.58.54-1.47.54-3.26c0-1.8 0-2.69-.54-3.26l-.1-.11c-.58-.53-1.48-.53-3.27-.53z" opacity=".2"/><rect width="14.84" height="20.71" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="3" transform="matrix(0 -1 -1 0 22.36 19.42)"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9.51 19.42V4.58M6.02 15.49L13 8.5m0 7l-6.98-7M22.36 12H1.76"/></g></svg>How to use the Gift Card icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:gift-card" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:gift-card" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:gift-card" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--gift-card]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:gift-card"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:gift-card"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/gift-card.svg" alt="Gift Card icon" width="24" height="24">Related icons in andrsrxn/icons
Gift Card icon in other icon sets
Gift Card icon FAQ
Is the Gift Card icon free for commercial use?
Yes. andrsrxn/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="andrsrxn: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/andrsrxn/gift-card.svg" alt="Gift Card icon">, or paste the SVG code inline to style it with CSS.