Gift animated icon

A present squashes, its lid pops off with a burst of sparkles, then lands back on.

Preview on
Try a brand

Smooth motion. Confident and clear. Smooth moves with a gentle landing.

Edit this in Mosso

Change anything, then export a GIF, an MP4 or a transparent video.

Free download

Free for your own projects and client work, including commercial use. Read the licence

What it's good for

It is 400 × 400 pixels and 1.5 seconds long, and it loops without a visible jump, so it can play for as long as you need. The background is transparent, so it sits on top of any page, photo or video.

The colours, fonts and timing come from the brand kit you pick. Each brand has its own motion style, so the same animation moves slower for a calm brand and quicker for a snappy one.

  • Menus, tabs and buttons
  • Feature lists on a landing page
  • Empty states and tooltips

How to use it on a website

  1. Pick your brand above, then download the dotLottie file.
  2. Add it to your site's files, for example as /animations/icon-gift.lottie.
  3. Paste the code where the animation should play.

Without code

  • Webflow: upload the Lottie JSON file in the Assets panel, then drag it onto your page.
  • Framer: add a Lottie component and give it the JSON file.
  • WordPress: use a Lottie block plugin and upload the JSON file.
  • iOS and Android: add the file to your app and play it with the official Lottie library.

Need it as a GIF or a video? Download the Lottie JSON and use the free Lottie to GIF or Lottie to MP4 converter, or check any file in the Lottie viewer.

index.html
<script src="https://unpkg.com/@lottiefiles/dotlottie-wc/dist/dotlottie-wc.js" type="module"></script>

<dotlottie-wc src="/animations/icon-gift.lottie" autoplay loop
  style="width: 48px; height: 48px"></dotlottie-wc>
IconGift.jsx
import { DotLottieReact } from '@lottiefiles/dotlottie-react';

export function IconGift() {
  return (
    <DotLottieReact
      src="/animations/icon-gift.lottie"
      autoplay
      loop
      style={{ width: 48, height: 48 }}
    />
  );
}
main.js
// npm install lottie-web
// In your HTML: <div id="icon-gift" style="width: 48px; height: 48px"></div>
import lottie from 'lottie-web';

lottie.loadAnimation({
  container: document.getElementById('icon-gift'),
  renderer: 'svg',
  loop: true,
  autoplay: true,
  path: '/animations/icon-gift.json',
});

Good to know

  • Play on hover or tap

    Icons feel best when they move in response to something. Load them paused and play them on hover or tap.

  • Size them like icons

    Show them at 24 to 48 pixels next to text, the same size as the rest of your icons.

  • Label the button, not the icon

    If the icon sits in a button, give the button a text label or an aria-label, and mark the animation itself with aria-hidden.

  • Respect reduced motion

    Some people ask their device for less motion. Check prefers-reduced-motion and show a still frame for them instead.

Questions

Is this gift animation free?

Yes. Download the Lottie JSON or dotLottie file above for free, with no account. You can use it in your own projects and in client work, including commercial work. You just can't resell it or give it away as a template or stock file.

Can I change the colours?

Yes. Pick a sample brand above to see how it changes. To use your own colours, fonts and logo, open it in Mosso, where every layer and keyframe is editable.

Should I download Lottie JSON or dotLottie?

dotLottie is the same animation in a zipped file, so it is smaller: this one is about 1.6 KB instead of 9.7 KB. Use it with the dotLottie players for the web, React, iOS and Android. Pick Lottie JSON when a tool asks for a .json file, like Webflow or lottie-web.

Can I get it as a GIF or a video?

Yes. Open it in Mosso and export a GIF, an MP4, a WebM video with a transparent background or PNG frames, all from the same project.

How do I play an icon on hover?

Load it with autoplay off and call play() when the pointer enters. Every Lottie player has a play method.

Make it yours in Mosso

Change the words, colours, timing and size, add your logo, and export Lottie, GIF, MP4 or transparent video. Or start from a blank canvas and make something new.