Skip to main content

Lottie

UI Design

What is Lottie

Lottie is an open file format for vector animations that plays in apps and on the web. Animations are stored as JSON, stay sharp at any size and are usually much lighter than GIFs or videos. The name honors animation pioneer Lotte Reiniger.

How Lottie works

  • Design: Animators create motion, usually in After Effects
  • Export: The Bodymovin plugin or LottieFiles tools save it as JSON
  • Playback: Player libraries render it on iOS, Android and the web
  • Control: Developers can play, pause, loop or jump to frames

When to use Lottie

Use Lottie for illustrated animations in products: onboarding scenes, empty states, success moments, loading animations and animated icons. For simple hover effects, CSS is lighter. For animations that react to input, consider Rive.

History of Lottie

Hernan Torrisi released Bodymovin in 2015, and Airbnb engineers built the first Lottie libraries in 2017. The format is now an open standard project hosted by The Linux Foundation.

Frequently asked questions

What is the difference between Lottie and a GIF?

A GIF is a series of pixel images, so it gets blurry when scaled and files can be large. Lottie stores vector animation as JSON, so it stays sharp at any size, is usually lighter and can be controlled in code.

How are Lottie animations made?

Most are designed in Adobe After Effects and exported to Lottie JSON with the Bodymovin plugin or LottieFiles tools. Apps and websites then play them with Lottie player libraries.

What is the difference between Lottie and Rive?

Lottie mainly plays back animations made in After Effects. Rive is its own editor and runtime, built around state machines, so animations can react to user input and app state.