gift icon
gift from TDesign Icons by TDesign · Outline · MIT Free for personal and commercial use.
- Name
- gift
- Set
- TDesign Icons
- Style
- Outline
- Viewbox
- 24×24
- License
- MIT
1 other variant in TDesign Icons
The same icon in other sets
giftAkar Iconsgift-filledAnt Design IconsgiftBootstrap IconsgiftBoxIcons v2giftBoxIcons v2 SolidgiftCarbongiftCodiconsgift-fillEva IconsgiftFramework7 IconsgiftFont Awesome 6 SolidgiftFont Awesome SolidgiftFeather Iconsgift-16-filledFluent UI System Iconsgift-16Fluent UI System Color Iconsgiftcss.gggiftHeroIconsgiftHuge IconsgiftHumbleiconsgiftIconParkgiftIconPark OutlinegiftIconPark SolidgiftIconPark TwoTonegiftIconoirgiftIonIcons
Use the gift icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M22 15V7H2v8zm0 6v-6H2v6z"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M22 21H2m20 0V7H2v14m20 0v-6H2v6"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M12 4a3 3 0 1 1-6 0a3 3 0 0 1 6 0Zm0 0a3 3 0 1 0 6 0a3 3 0 0 0-6 0Zm-4 7l4-4l4 4"/></g></svg>
React
import type { SVGProps } from "react";
export function TdesignGift(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M22 15V7H2v8zm0 6v-6H2v6z"/><path stroke="currentColor" strokeLinecap="square" strokeWidth="2" d="M22 21H2m20 0V7H2v14m20 0v-6H2v6"/><path stroke="currentColor" strokeLinecap="square" strokeWidth="2" d="M12 4a3 3 0 1 1-6 0a3 3 0 0 1 6 0Zm0 0a3 3 0 1 0 6 0a3 3 0 0 0-6 0Zm-4 7l4-4l4 4"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M22 15V7H2v8zm0 6v-6H2v6z"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M22 21H2m20 0V7H2v14m20 0v-6H2v6"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M12 4a3 3 0 1 1-6 0a3 3 0 0 1 6 0Zm0 0a3 3 0 1 0 6 0a3 3 0 0 0-6 0Zm-4 7l4-4l4 4"/></g></svg> </template>
CSS
.icon-gift {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M22%2015V7H2v8zm0%206v-6H2v6z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M22%2021H2m20%200V7H2v14m20%200v-6H2v6%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M12%204a3%203%200%201%201-6%200a3%203%200%200%201%206%200Zm0%200a3%203%200%201%200%206%200a3%203%200%200%200-6%200Zm-4%207l4-4l4%204%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M22%2015V7H2v8zm0%206v-6H2v6z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M22%2021H2m20%200V7H2v14m20%200v-6H2v6%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M12%204a3%203%200%201%201-6%200a3%203%200%200%201%206%200Zm0%200a3%203%200%201%200%206%200a3%203%200%200%200-6%200Zm-4%207l4-4l4%204%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/tdesign/gift.svg?color=%231a73e8&size=48