Welcome to FullStack. We use cookies to enable better features on our website. Cookies help us tailor content to your interests and locations and provide other benefits on the site. For more information, please see our Cookies Policy and Privacy Policy.
Airbnb's Lottie: After Effects Animations and React Native
Written by
Yeison Betancourt
Last updated on:
October 1, 2025
Written by
Last updated on:
October 1, 2025
For this tutorial, we’re going to create a project in React Native to integrate some animation with Lottie. Lottie is a library from Airbnb that is used in different platforms such as React Native to include Adobe After Effects animations exported as JSON. For more information, you can check out its official documentation at airbnb.io/lottie.
1. Create React Native project
Assuming that you have the environment ready to create a project with React Native Cli, you’re going to use the next command to create an app with a template of typescript:
To install the library, you have to install the dependencies and set up the environment for iOS and Android. In order to do it follow the following instructions:
a. Install lottie-react-native and lottie-ios (3.1.8):
npm i --save lottie-react-native
npm i --save lottie-ios@3.1.8
Then go to your iOS folder and run:
pod install
b. Now that you have installed the library and everything looks good, we have to import the library in the view that you want. In this tutorial we’re going to use our main view, App.tsx
Before using the library, you have to know how to use it and which components you have available, you can find this information in the API documentation.
3. Create or download the Lottie example
You can create your own animation using Adobe After Effects animations exported as JSON with Bodymovin and then export it as JSON to be used in the project. Or you can download some examples from the official page LottieFiles.
For this tutorial we’re going to use an animation from the website Lottiefiles. Download this file as a Lottie JSON:
4. Add Lottie into the project
Now that we have our animation, move it to a new folder in the project. We’re going to move the file to the next route:
src/animations
Rename the file to software-development.json and save it.
5. Integrate the library into the project
To integrate this library you have to import it:
import LottieView from'lottie-react-native';
And then to use this component, we just need to use it:
Using techniques like what is listed above, here at FullStack Labs we have had the opportunity to address our clients’ concerns and they love it! If you are interested in joining our team, please visit our Careers page.
What is Lottie, and why is it useful in React Native?
Lottie is an open-source animation library from Airbnb that makes it easy to integrate Adobe After Effects animations into mobile apps. It renders animations from JSON files exported with Bodymovin, providing smooth, lightweight, and scalable visuals without needing complex manual coding.
How does Lottie work with React Native?
Lottie integrates seamlessly with React Native projects using the Lottie React Native library. Once it’s set up, you can add JSON-based animations to your app and display them directly in your interface, making it simple to create engaging, dynamic visuals on both iOS and Android.
Where can I find Lottie animations for my project?
There are two main options:
Download ready-made animations from LottieFiles, which has a large library of free and premium designs.
Create custom animations in Adobe After Effects and export them as JSON files using the Bodymovin plugin.
What are the benefits of using Lottie instead of traditional animations?
Lottie offers several advantages:
Cross-platform compatibility — works on iOS, Android, and the web
Lightweight files — JSON-based animations load faster and use less memory
Smooth performance — optimized to run efficiently in mobile apps
Improved workflows — designers can export animations directly, reducing the need for custom development
Do I need Adobe After Effects to use Lottie?
Not necessarily. If you want to create custom animations, Adobe After Effects with the Bodymovin plugin is the standard tool. However, if you’d rather use pre-built animations, you can download them from LottieFiles or other resources — no After Effects required.
AI is changing software development.
The Engineer's AI-Enabled Development Handbook is your guide to incorporating AI into development processes for smoother, faster, and smarter development.
Enjoyed the article? Get new content delivered to your inbox.
Subscribe below and stay updated with the latest developer guides and industry insights.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.