Get in touchGet in touchGet in touch
Rive vs Lottie: which one for your product
How to choose between Rive and Lottie for UI animation, with examples from eBay, Notion AI, OpenAI DevDay, Spotify Wrapped and YouTube Recap
The short answer: if an animation only has to play, use Lottie. If it has to react to the user, to the state of the app or to data, use Rive.
I work with both. Here is how I choose, and what the choice changes for your team.
In short
Rive vs Lottie at a glance
Lottie
Rive
Made in
After Effects or Lottie Creator
The Rive editor
States and transitions
Possible with dotLottie state machines
Built in: it is how the file works
Changes at runtime
Themes: colours, text and some properties
Data binding: text, numbers, colours, images, lists
Different screens
Scales, but does not re-flow
Layouts that adapt to the screen
File
JSON, zipped in dotLottie
Compact binary, often 10 to 15 times smaller (Rive’s figure)
Rendering
Depends on the player and the platform
One GPU renderer, the same as the editor
Runs on
Web, iOS, Android, React Native, Flutter
The same, plus game engines
Where the logic lives
Mostly in your code
Mostly in the file
Best for
Illustrations, one-shot moments, marketing pages
Loaders, icons, characters, data-driven stories
Need motion for your product?
Rive animation, UI motion and motion systems for product teams.
01 — The difference
A file that plays, a file that reacts
A Lottie file is an animation exported from After Effects and played back by a small player in your app. It is the simplest way to put vector animation in a product: the designer exports, the engineer plays it.
Rive is a design tool and a runtime. A Rive file holds the artwork and the animations, but also the logic: a state machine that decides what plays and when, and view models that let the app pass data into the file.
The line has moved in the last few years: the newer dotLottie format can carry state machines and themes too. But the two still start from opposite ends. Lottie starts from a finished animation and adds control. Rive starts from behaviour.
02 — Lottie
When Lottie is enough
A success tick, an empty-state illustration, an onboarding loop, the hero of a landing page: things that start, play and end.
It is also the right call when your team already animates in After Effects and wants to keep that workflow, or when the animation is used once and nobody will need to drive it from code.
03 — Rive
When it has more than one state
eBay
The loader in the eBay app is one component used across the product. The same four dots wait, build, think, confirm and signal when something goes wrong, moving from one state to the next without ever cutting.
The icons follow the same rule. They are all built on one state machine (Hidden, In, Idle, Hover and Out) and driven by the same three inputs, so the product can animate any of them without knowing anything about the drawing.
With playback files this would be a folder of clips and the code to stitch them together. In Rive it is one file. Try it: each button sets a state, exactly as the app does.
Notion AI
A character is the same case with more states. In the Notion AI assistant, which I animated as part of the Buck team, every mood is a state in one Rive state machine: idle, greeting, thinking, writing and searching, plus an error state.
Each state is triggered by what happens in the product, and the character moves between them without a cut. Press a state to see it switch.
When people interact with it
OpenAI DevDay
For OpenAI DevDay 2025 the event identity lived inside custom arcade games. Studio Dumbar / DEPT® led the identity and the games; I created the animation assets and the state machines in Rive, integrated directly into the games, so every animation responds to what the player does.
You cannot export that as a clip either, because nobody knows what the player will do next. Below, one of the finished games on its cabinet, and one of the characters driven the way the game drives it: press a button.
YouTube Recap
YouTube Recap is something you play, not only watch. Every tap is an input: it fires a trigger in the view model, the state machine checks the answer against the user’s data, flips the card to reveal the right thumbnail, updates the score and moves the story on.
When it is filled with data
Spotify Wrapped
Nothing in Spotify Wrapped is the same for two people: every story is filled with the listener’s own year. In Top Genres a short name like Drill gets a big one-line bar, a long one like Country Singer-Songwriter folds into two lines, and the list re-flows around them.
You cannot export that as a clip, because nobody knows the content until the app opens. The animation has to be a real-time file that takes the data and lays itself out. YouTube Recap works the same way: interactive stories filled with each user’s own data, on iOS, Android and web.
When it has to fit every screen
Spotify Wrapped
A Lottie animation scales as a vector, but it has no layout: the content does not re-flow when the screen changes shape, so teams often export one version per size.
In Wrapped every story was specced across four breakpoints, from 320×568 to 428×926. The Rive artwork is a single 9:16 file that scales and re-anchors to fill whatever screen it lands on. Nothing is stretched, nothing is redrawn per device: the same file, the same motion, on every phone.
YouTube Recap is built the same way, so it plays natively on iOS, Android and web.
04 — Under the hood
A lighter file, one runtime
A Lottie file is JSON: easy to read, but heavy, which is why dotLottie zips it. A Rive file is a compact binary built for the runtime. By Rive’s own comparison, its files are often 10 to 15 times smaller than the equivalent Lottie JSON, and Duolingo saw a 15x reduction when it moved its characters to Rive.
Rendering is the other half. The classic Lottie players use each platform’s own renderer, so supported features differ between iOS, Android and web (the newer dotLottie players share one core to fix this). Rive ships its own GPU renderer, the same one the editor uses: what I see while animating is what runs in the app.
And one file runs everywhere: web, iOS, Android, Flutter and React Native, plus game engines like Unity and Unreal. The runtimes are open source.
05 — The handoff
What changes for your team
With Lottie the file is passive and the logic lives in your code: engineers decide when to play, loop or swap one file for another.
With Rive the logic lives in the file. Engineers set a few inputs or bind a view model, and the file does the rest. That is less code to write and to keep in sync across iOS, Android and web, but it only works if the file comes with a clear contract: which inputs exist, what each state means, what data it expects. I write that spec for every module I deliver.
Rive also asks more of the animator, who is now designing a component and not a clip.
Need motion for your product?
Rive animation, UI motion and motion systems for product teams.
More of my work in Rive: Rive animation for digital products.
Credits
Notion AI
Project by Buck for Notion. Animation: Emanuele Colombo. Images and videos courtesy of Buck and Notion.
OpenAI DevDay
Project by Studio Dumbar / DEPT® for OpenAI. Animation: Emanuele Colombo. Images and videos courtesy of Studio Dumbar and OpenAI Design Studio.
YouTube Recap
Animation: Emanuele Colombo, Stefano Malerba, Gabriele Montinaro, YouTube Design Team. Creative Technologist: Bart Radziejewski. Production: Little Moving Pictures. Design: YouTube Design Team. Project Lead: Sabrina Curry. Project Manager: Joana Goncalves.
Spotify Wrapped 2025
Spotify Design Team. Motion: Myles Robinette, Alberto Pozo, Chris Lloyd, Emanuele Colombo. Images and videos courtesy of Spotify.