Lottie

Lottie is an open-source animation format from Airbnb that plays After Effects animations, exported as JSON, natively on the web, iOS and Android. Files stay small and sharp at any size because they are vector.

Also called
Lottie animation, Lottie JSON, Lottie file, dotLottie, .lottie, Bodymovin
Category
Brand
Updated

Lottie connects the tool motion designers already use with the code developers ship. A designer animates in Adobe After Effects, exports the animation as JSON with the Bodymovin plugin, and a Lottie player renders it on the target platform. Airbnb maintains the official players for Android, iOS and the web, and the community has built players for React Native, Windows and others. The project’s stated aim is that designers can ship animations without an engineer recreating them by hand.

Because the file describes shapes and keyframes rather than pixels, a Lottie animation scales cleanly, can be recoloured, and can be played, paused, looped or scrubbed from code. The newer dotLottie format packs one or more animations, their assets, themes and state machines into a single compressed file.

Why it matters for a SaaS website

SaaS products are easier to understand when they move: a success state confirming a payment, a loading sequence that explains what the AI is doing, a feature illustration that shows a workflow in three seconds. Lottie makes those moments cheap to ship and light to load compared with GIFs or video, and the same file can run in the marketing site and the app.

How DesignMe handles it

Lottie is part of our motion and product design toolkit. Our animation systems work for websites includes product asset prep, animated UI moments, Lottie and video exports, performance-friendly files and implementation support. For website projects we deliver Lottie files alongside WebM and MP4 assets and plan where each one goes in the Framer or Webflow build. When an animation needs to react to hover, clicks or app state, we also work in Rive, which we used for the 30 animations on Seamless.AI.

Example

Say a fintech app wants a short success animation when a transfer completes. The designer animates a tick drawing into a coin in After Effects, checks that every effect is supported on iOS and Android, and exports a small .lottie file. Developers play it once on success and show a static frame when the device has reduced motion turned on.

Common mistakes

  • Using unsupported effects. Some After Effects features render differently, or not at all, on some platforms.
  • Embedding raster images. Bitmaps inside the JSON bloat the file and lose the vector advantage.
  • Too many layers and keyframes. Complex files can stutter on mid-range phones.
  • Autoplaying everything. Play animations when they are in view, not all at once.
  • No reduced-motion fallback. Show a static frame for people who opt out of motion.

Questions

What is the difference between Lottie and dotLottie?
A Lottie file is plain JSON describing one animation. A dotLottie file (.lottie) is a Deflate-compressed ZIP archive that can bundle several Lottie animations with their images, fonts, themes and state machines, plus a manifest. It is usually smaller than the raw JSON and easier to ship as a single asset.
Should I use Lottie or video for website animation?
Use Lottie for vector work: UI animations, icons, illustrations and product moments that need to stay sharp, load light and respond to code. Use video for footage, 3D renders and effect-heavy scenes. Not every After Effects feature is supported by every Lottie player, so check support before animating.

You've reached the end, so now…

Tell us what you’re building.

We’ll help you map the right scope, team, timeline, and next steps.

Book a call