Lottie or Rive

Animated Icons for Android / Kotlin

Android apps integrate Lottie via the airbnb/lottie-android library and Rive via the Rive Android runtime. Both are available through Gradle and display in XML layouts. LottieAnimationView handles JSON files placed in res/raw/, while RiveAnimationView handles .riv files with state machine support for interactive animations.

Quick start

1

Install com.airbnb.android:lottie

// app/build.gradle
dependencies {
    implementation "com.airbnb.android:lottie:6.4.0"
}
2

Add the animation

<!-- res/layout/activity_main.xml -->
<com.airbnb.lottie.LottieAnimationView
    android:layout_width="64dp"
    android:layout_height="64dp"
    app:lottie_rawRes="@raw/your_icon"
    app:lottie_autoPlay="true"
    app:lottie_loop="true" />

Browse by category

Animated icons across 22 categories, all available in Lottie or Rive format.

Other platforms