Gift icon
A hand-drawn gift icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Commerce
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
gift
Stroke weights and sizes
Use it in React Native
Paste the SVG into react-native-svg's SvgXml. The Icon component covers a curated set by name, and Animated Icons plays the motion natively.
TSX GiftIcon.tsx
import { SvgXml } from "react-native-svg";
const GiftIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(0 0.5)"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M5 11.6L5 16.8C5 18.7 6.5 20.2 8.4 20.2L15.6 20.2C17.5 20.2 19 18.7 19 16.8L19 11.6"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="11.6" x2="12" y2="20.2"></line><g><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="3.4" y="7" width="17.2" height="4.6" rx="1.5"></rect><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M7.3 4.7C7.3 3.6 8.2 2.7 9.3 2.7L9.5 2.7C11.6 2.7 12.4 4.4 12.4 6.5L12.4 7.2L9.9 7.2C8.5 7.2 7.3 6.1 7.3 4.7Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M16.7 4.7C16.7 3.6 15.8 2.7 14.7 2.7L14.5 2.7C12.4 2.7 11.6 4.4 11.6 6.5L11.6 7.2L14.1 7.2C15.5 7.2 16.7 6.1 16.7 4.7Z"></path></g></g></svg>`;
<SvgXml xml={GiftIcon} width={24} height={24} color="#111" /> SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG gift.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(0 0.5)"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M5 11.6L5 16.8C5 18.7 6.5 20.2 8.4 20.2L15.6 20.2C17.5 20.2 19 18.7 19 16.8L19 11.6"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="11.6" x2="12" y2="20.2"></line><g><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="3.4" y="7" width="17.2" height="4.6" rx="1.5"></rect><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M7.3 4.7C7.3 3.6 8.2 2.7 9.3 2.7L9.5 2.7C11.6 2.7 12.4 4.4 12.4 6.5L12.4 7.2L9.9 7.2C8.5 7.2 7.3 6.1 7.3 4.7Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M16.7 4.7C16.7 3.6 15.8 2.7 14.7 2.7L14.5 2.7C12.4 2.7 11.6 4.4 11.6 6.5L11.6 7.2L14.1 7.2C15.5 7.2 16.7 6.1 16.7 4.7Z"></path></g></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/gift.svg" width="24" height="24" alt="Gift" />