Lottie
UI DesignWhat 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.
Related terms
View all UI Design terms →Rive
Rive is a design and animation tool for interactive graphics that run in apps, websites and games. Designers build vector graphics…
Vector Graphics
Vector graphics are images built from geometric shapes : points, lines, curves and polygons defined by math. Because the shapes are…
Keyframe
A keyframe is a point in an animation that defines a specific state , such as the start or end of a movement. The software fills in the…
Micro-interactions
Micro-interactions are contained product moments that perform a single, specific task. They are the small, subtle animations and responses…
Easing
Easing is the way an animation changes speed over time . Instead of moving at a constant rate, an eased element speeds up or slows down…
Design Handoff
Design handoff is the step where designers pass finished designs to developers to build. It includes the screens, specs, assets, states…
