Rive Animation for Flutter and React Native Apps (2026 Guide)

Rive Animation for Flutter and React Native Apps (2026 Guide)

The short answer

Rive works well in both Flutter and React Native. The same .riv file runs in both, so a designer builds the animation once and your developers drop it into the app with Rive’s official runtime package. Developers then control the animation from code: switching states, passing in data and listening for events.

Both runtimes were rebuilt recently. The Flutter package now runs on Rive’s native renderer, and React Native has a new runtime built on Nitro Modules that its developers report loads screens with several animations far faster than the old one.

I’m Maxim Tincu, a Rive animator with 10+ years in motion design. This guide explains what you can build, how it fits into each framework, and how to hand animations over so they just work.

What you can build with Rive in a mobile app

AnimationWhat it does in the appExample
Interactive mascotReacts to user actions with different moodsMascot with 9 emotion states
Onboarding guidePoints to features and explains each stepOnboarding mascot
Animated buttonsRespond to press and release, celebrate successMascot Continue button
Toggles and switchesAnimate between two states, like light and dark modeDark mode toggle
Splash screenPlays a logo intro while the app loadsUI-to-logo splash screen
Game UICharacter select, menus, rewardsRobot character select
Loaders and progressShow live progress from app dataData binding to a progress value

All of these are one lightweight file each, and they stay sharp on every screen size.

How Rive works in Flutter

Flutter developers add Rive with the official rive package from pub.dev. From version 0.14.0, it’s built on rive_native, which connects Flutter to Rive’s C++ runtime and the Rive Renderer (Rive docs). rive_native replaced the older rive_common plugin.

What that means in practice:

  • One package, many platforms. The same code runs on iOS, Android, web, macOS, Windows and Linux (pub.dev).
  • Two renderers. Developers can draw with Flutter’s own renderer or with the Rive Renderer, which is built for real-time vector graphics.
  • Full control from Dart. Developers load the .riv file, pick the artboard and state machine, then set inputs, update text and pass data into the animation.

If your app uses an older Rive version below 0.14, plan a short upgrade when you add new animations, so you get the new renderer and data binding.

How Rive works in React Native

React Native now has a new official runtime, @rive-app/react-native, a complete rewrite built on Nitro Modules. Rive recommends it over the legacy rive-react-native package, and your existing .riv files look and work the same in it (Rive migration guide).

The new runtime needs a fairly recent setup (Rive docs):

RequirementMinimum
React Native0.78 (0.79+ recommended)
Expo SDK53
iOS15.1
AndroidSDK 24 (Android 7.0)

Why it matters: Margelo, the team that rebuilt it, measured a screen with four Rive graphics opening in about 58 ms instead of about 500 ms with the legacy runtime (Margelo).

In the new runtime, developers control animations mainly through data binding (view models), which replaces the older input and event methods. That’s worth knowing when you brief your animator: ask for data binding properties, not just state machine inputs.

Designer-to-developer handoff checklist

Most Rive problems in apps come from a messy handoff, not from the runtime. Before an animation goes to your developers, check that you have:

  • The final .riv file, exported from the agreed Rive version
  • The artboard and state machine names to load
  • A list of view model properties (data binding) or inputs, with their type and what each one does
  • A list of events the animation sends back (for example “finished” or “buttonPressed”)
  • Notes on fit and alignment (how it should scale on phones and tablets)
  • Any fonts or images loaded from outside the file
  • A short screen recording of every state, so developers know what correct looks like

Ask your animator for all of it. With a complete handoff, developers can usually wire an animation up in hours, not days.

Performance tips and common mistakes

Tips:

  • Load once, reuse. If the same file appears on several screens, load it once and share it. The new React Native runtime supports preloading and file sharing for exactly this.
  • Keep files lean. Remove unused artboards, hidden layers and large embedded images before export.
  • Pause what isn’t visible. Stop or pause animations that are off screen or in a hidden tab.
  • Test on a mid-range Android phone, not only on the latest iPhone or the simulator.

Common mistakes:

MistakeWhat happensFix
Renaming states or properties after handoffThe app code stops controlling the animationFreeze names once developers start
Wrong fit settingAnimation is cropped or tiny on some screensAgree on fit and alignment per screen
Exporting from a different Rive version than the runtime supportsFeatures missing or the file fails to loadMatch editor features to the runtime version in the app
Using an old runtimeMissing data binding and slower loadingUpgrade to the current Flutter rive package or @rive-app/react-native

Frequently asked questions

Does Rive work in Flutter? Yes. Add the official rive package from pub.dev. From version 0.14.0 it runs on Rive’s native renderer and supports iOS, Android, web and desktop.

Does Rive work in React Native and Expo? Yes. The new @rive-app/react-native runtime supports React Native 0.78+ and Expo SDK 53+.

Can the same Rive file be used in Flutter and React Native? Yes. One .riv file runs in both, and on the web too, so the animation only has to be made once.

Is Rive better than Lottie for mobile apps? For interactive animation, usually yes. For simple linear animations, Lottie can be enough. See my Rive vs Lottie comparison.

How do developers control a Rive animation? Through data binding (view model properties) and the state machine, set from Dart or JavaScript code.

Need Rive animation for your app?

I create interactive mascots, onboarding animations, buttons and splash screens as developer-ready .riv files, with a full handoff for Flutter and React Native. See my portfolio and pricing, read how to hire a Rive animator, or get a fixed quote.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *