ICONYZ
English
Gift icon from css.gg

Gift icon

gg:gift

The Gift icon (gg:gift) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg 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
css.gg
Author
Astrit
License
MIT
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="currentColor" fill-rule="evenodd" d="M17.535 2.879a3 3 0 0 0-4.242 0l-1.414 1.414q-.09.09-.172.186a3 3 0 0 0-.171-.186L10.12 2.879A3 3 0 1 0 5.88 7.12l.877.88H1v6h2v8h18v-8h2V8h-6.343l.878-.879a3 3 0 0 0 0-4.242M14.707 7.12l1.414-1.414a1 1 0 0 0-1.414-1.414l-1.414 1.414a1 1 0 0 0 1.414 1.414m-4.586-1.414L8.707 4.293a1 1 0 1 0-1.414 1.414l1.414 1.414a1 1 0 1 0 1.414-1.414M21 10v2H3v-2zm-8.083 4H19v6h-6.083zm-1.834 0v6H5v-6z" clip-rule="evenodd"/></svg>

How to use the Gift icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/gg/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. css.gg icons are released under the MIT 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="gg: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/gg/gift.svg" alt="Gift icon">, or paste the SVG code inline to style it with CSS.

Browse all css.gg icons →