ICONYZ
English
Gift icon from Material Design Light

Gift icon

mdi-light:gift

The Gift icon (mdi-light:gift) is a free SVG icon from the Material Design Light set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Light icons are released under the Open Font 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
Material Design Light
Author
Pictogrammers
License
OFL-1.1
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" d="M4 13v8h7v-8zm8 0v8h7v-8zm8 0v9H3v-9H2V7h3.04L5 6.5A3.5 3.5 0 0 1 8.5 3c1.27 0 2.39.68 3 1.7c.61-1.02 1.73-1.7 3-1.7A3.5 3.5 0 0 1 18 6.5l-.04.5H21v6zM3 8v4h8V8zm17 4V8h-8v4zm-3.05-5l.05-.5A2.5 2.5 0 0 0 14.5 4A2.5 2.5 0 0 0 12 6.5V7zM11 7v-.5A2.5 2.5 0 0 0 8.5 4A2.5 2.5 0 0 0 6 6.5l.05.5z"/></svg>

How to use the Gift icon

React

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

<Icon icon="mdi-light:gift" width="24" />

Vue

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

<template>
  <Icon icon="mdi-light:gift" width="24" />
</template>

Svelte

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

<Icon icon="mdi-light:gift" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="mdi-light:gift"></iconify-icon>

HTML image

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

Browse all Material Design Light icons →