Clone this repo:
  1. 0ca5227 Properly clear canvas for masks pre-Pie (#1505) by Gabriel Peal · 2 days ago master
  2. e82e63c Ensure ImageView updates Drawable bounds when not using LottieAnimationView (#1504) by Gabriel Peal · 3 days ago
  3. a709ac6 Accept alpha [0,255] (#1503) by Gabriel Peal · 3 days ago
  4. 58b6b75 Two cache fixes (#1502) by Gabriel Peal · 3 days ago
  5. 8f9848a Always notify update when a composition is set (#1501) by Gabriel Peal · 3 days ago

Lottie for Android, iOS, React Native, Web, and Windows

Build Status

Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!

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:

Sponsors

Lottie is maintained and improved on nights and weekends. If you use Lottie in your app, please consider sponsoring it to help ensure that we can continue to improve the project we love. Click the sponsor button above to learn more

Lead Sponsors

View documentation, FAQ, help, examples, and more at airbnb.io/lottie

Example1

Example2

Example3

Community

Example4

Download

Gradle is the only supported build configuration, so just add the dependency to your project build.gradle file:

dependencies {
  implementation 'com.airbnb.android:lottie:$lottieVersion'
}

The latest Lottie version is: lottieVersion

Lottie 2.8.0 and above only supports projects that have been migrated to androidx. For more information, read Google's migration guide.