Lottie
Primary version
Primary version
  • Introduction
  • Android
    • Basic Workflow
    • Caching and Preloading
    • Dynamic Properties
    • Images
    • Performance
    • Lottie vs AVD
    • APK size
    • Troubleshooting
    • Contributing
  • iOS/MacOS
    • Docs
      • View Controller Transitions
      • Dynamic Properties
      • Adding Views to Animation at Runtime
    • Tutorials
      • Building a Dynamic Progress Loader
    • Troubleshooting
      • Performance
      • Troubleshooting
  • React Native
    • Sample App
    • Props
    • Troubleshooting
  • Web
    • Getting started
    • Video tutorial
    • Previewing
    • Expressions
    • Troubleshooting
  • After Effects
    • Getting started
    • Install Bodymovin Plugin
      • Bodymovin settings
    • General tips & guidelines
    • Sketch/SVG/Illustrator to Lottie walkthrough
    • Advanced Illustrator to Lottie walkthrough
    • Troubleshooting
  • Supported After Effects Features
  • Other Platforms
    • Mobile
      • Xamarin
      • NativeScript
      • Titanium
      • Windows (UWP)
    • Web Frameworks
      • React
      • Vue
      • Angular
  • Troubleshooting
  • Community Showcase
Powered by GitBook
On this page
  • Other Platforms
  • Sample App
  • Shipping something with Lottie?
  • Alternatives
  • Why is it called Lottie?
  • Contributing
  • Issues or feature requests?
  • Articles, Interviews & Podcasts
  • Community articles and videos

Introduction

NextAndroid

Last updated 7 years ago

Get it on Google Play

Lottie is a mobile library for Android and iOS that parses animations exported as json with 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 are 13,000:

All of these animations were created in After Effects, exported with Bodymovin, and rendered natively with no additional engineering effort.

Other Platforms

Sample App

Shipping something with Lottie?

Alternatives

  1. 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.

  2. 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.

  3. 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.

  4. 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.

Why is it called Lottie?

Contributing

Contributors are more than welcome. Just upload a PR with a description of your changes.

If you would like to add more JSON files feel free to do so!

Issues or feature requests?

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.

Articles, Interviews & Podcasts

Here are some articles and podcasts from the Lottie team @ Airbnb

Community articles and videos

Heres some links from around the community

is an After Effects plugin created by Hernan Torrisi that exports After effects files as json and includes a javascript web player. We've built on top of his great work to extend its usage to Android, iOS, and React Native.

Read more about it on our Or get in touch on GitHub or via lottie@airbnb.com

You can build the sample app for Android yourself or download it from the . The sample app includes some built in animations but also allows you to load an animation from internal storage or from a url.

Email us at and soon we will create a testimonals and use cases page with real world usages of Lottie from around the world. We also have an internal regression testing repo that we can use to prevent causing regressions with your animations.

. Keyframes is a wonderful new library from Facebook that they built for reactions. However, Keyframes doesn't support some of Lottie's features such as masks, mattes, trim paths, dash patterns, and more.

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

by Nick Butcher

by Samo Korosec and Stefan Keileithner

by PattyDraw

by Simon NG

by James Rochabrun

by Brian Advent

by Brian Advent

by Brian Advent

by Chetan Sachdeva

Bodymovin
blog post
Xamarin (martijn00)
NativeScript (bradmartin)
Windows (UWP) (azchohfi)
Appcelerator Titanium (m1ga)
ReactXP (colmbrady)
Flutter (simolus3)
Flutter (fabiomsr)
Play Store
lottie@airbnb.com
Facebook Keyframes
The art of Lotte Reineger
Behind the scenes: Why we built Lottie, our new open-source animation tool here.
Dig into the details and back story with Brandon Withrow and Salih Abdul-Karim on the School of motion podcast
Learn more about Lottie from Gabriel Peal on the Fragmented Podcast
Lottie Animation with Brandon Withrow and Gabriel Peal on Software engineering daily podcast
A Lottie to Like
Creating better user experiences with animations and Lottie
How to use Lottie (In Chinese)
A Beginning’s Guide to Lottie: Creating Amazing Animations in iOS Apps
Take your animations to the next level with Airbnb framework, Lottie
iOS Swift Tutorial: Animations with After Effects and Lottie
iOS Swift Tutorial: Interactive Animations with After Effects and Lottie
After Effects for wiOS Developers: Dynamic Content in Animations
Creating cool animations in android using Lottie
Chetan Sachdeva
Adobe After Effects
Bodymovin
Lottie Logo animation
Example1
Example2
Example3
Example4