---
title: "Gift animated icon"
description: "Gift animated icon (Tools). The gift opens with a surprise. Light: the lid pops up with a tilt, a spark flashes out of the gap on each side, and the lid drops back and bounces once; the bow rides on the lid and swings a beat behind it. Strong: the lid knocks once from inside, then pops higher with more tilt, a fan of two sparks flashes out of each side, and the lid lands with two decaying bounces. The box never moves."
canonical: https://generativeicons.com/icons/gift/
---

# Gift animated icon

The gift opens with a surprise. Light: the lid pops up with a tilt, a spark flashes out of the gap on each side, and the lid drops back and bounces once; the bow rides on the lid and swings a beat behind it. Strong: the lid knocks once from inside, then pops higher with more tilt, a fan of two sparks flashes out of each side, and the lid lands with two decaying bounces. The box never moves.

- Id: `gift`
- Category: Tools
- Search terms: present, gift box, giftbox, surprise, giveaway, birthday present, wrapped present, christmas, gifting, perks, send gift
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/gift.lottie (dotLottie, 5021 bytes, sha256 13f9fd7cc36b6baed6a0c8e2dab969e17d14fc33bd3d3059dae33aa62e9b6239)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add gift
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/gift.mjs';

export function GiftIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/gift.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/gift/ · https://generativeicons.com/api/icons/gift
