Lottie for Android, iOS, Web, React Native, and Windows
Lottie is a library for Android, iOS, Web, and Windows that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile and on the web!
For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. They say a picture is worth 1,000 words so here you go:
The above animation was created in After Effects, and can be rendered natively across all platforms with a simple json file.
Lottie is made possible because of our supporters on GitHub Sponsors and Open Collective. To learn more, please check out our sponsorship page.
We would especially like to thank our sponsorships from
Read more about it on our blog post Or get in touch on GitHub or via [email protected]
You can build the sample app for Android yourself or download it from the Play Store. The sample app includes some built in animations but also allows you to load an animation from internal storage or from a url.
For Windows, you can get the Lottie Viewer app to preview Lottie animation and codegen classes, and the Lottie Samples app to get started with code samples and simple tutorials.
We would love to feature your work on our community showcase! To do so, Put up a PR on github.com/lottie with a change to community-showcase.md with a description and gif of your animation. We also have an internal regression testing repo that we can use to prevent causing regressions with your animations.
- Build animations by hand. Building animations by hand is a huge time commitment for design and engineering across Android and iOS. It's often hard or even impossible to justify spending so much time to get an animation right.
- Gifs. Gifs are more than double the size of a bodymovin JSON and are rendered at a fixed size that can't be scaled up to match large and high density screens.
- Png sequences. Png sequences are even worse than gifs in that their file sizes are often 30-50x the size of the bodymovin json and also can't be scaled up.
- Animated Vector Drawable (Android only). More performant because it runs on the RenderThread instead of the main thread. Supports only a subset of Lottie features. Progress can't be manually set. Doesn't support text or dynamic colors. Can't be loaded programatically or over the internet.
Lottie is named after a German film director and the foremost pioneer of silhouette animation. Her best known films are The Adventures of Prince Achmed (1926) – the oldest surviving feature-length animated film, preceding Walt Disney's feature-length Snow White and the Seven Dwarfs (1937) by over ten years The art of Lotte Reineger
Contributors are more than welcome. Just put up a PR to github.com/airbnb.
File github issues for anything that is unexpectedly broken. If an After Effects file is not working, please attach it to your issue. Debugging without the original file is much more difficult.
Here are some articles and podcasts from the Lottie team @ Airbnb
Behind the scenes: Why we built Lottie, our new open-source animation tool here.
Learn more about Lottie from Gabriel Peal on the Fragmented Podcast
Lottie Animation with Brandon Withrow and Gabriel Peal on Software engineering daily podcast
Heres some links from around the community
A Lottie to Like by Nick Butcher
Creating better user experiences with animations and Lottie by Samo Korosec and Stefan Keileithner
10 amazing web animations with Lottie (In Spanish) by AnimatiCSS
How to use Lottie (In Spanish) by AnimatiCSS
How to use Lottie (In Chinese) by PattyDraw
A Beginning’s Guide to Lottie: Creating Amazing Animations in iOS Apps by Simon NG
Take your animations to the next level with Airbnb framework, Lottie by James Rochabrun
iOS Swift Tutorial: Animations with After Effects and Lottie by Brian Advent
iOS Swift Tutorial: Interactive Animations with After Effects and Lottie by Brian Advent
After Effects for wiOS Developers: Dynamic Content in Animations by Brian Advent
Creating cool animations in android using LottieChetan Sachdeva by Chetan Sachdeva
Boost Your User Experience with Lottie for React Native by Samuli Hakoniemi
How to use 'Lottie' in Framer X by ruucm