Skip to content
Limited timeStarter is now $9 a month instead of $20.See plans
charmotion

Best Animated Mascot Tools for React Native & Expo Apps

By the Charmotion team · Updated · How we write guides

Cover illustration for the guide: Best Animated Mascot Tools for React Native & Expo Apps, with Charmotion demo characters

For most React Native and Expo apps, Rive is the best fit for an animated mascot that reacts to app state, because its runtime plays .riv files and lets code change states while the app runs. It needs a development build, not Expo Go. Lottie suits simpler looping motion, and a pre-rendered video suits clips that never react.

Key takeaways

  • Rive gives a React Native app a .riv file it can play and control with state machines and data binding.
  • Rive's recommended React Native package is @rive-app/react-native, which needs react-native-nitro-modules.
  • In Expo, Rive needs a development build because its package contains custom native code and does not run in Expo Go.
  • Lottie and dotLottie work well for looping or one-shot motion that does not respond to app state.
  • Charmotion outputs one .riv file, but its export list has no React Native code, so the runtime wiring is yours.

Already have a character or logo? See examples in real app screens: splash, onboarding, loading and empty-state screens, with the animation that plays in each.

What makes an animated mascot tool right for React Native?

This guide compares the best animated mascot tools for React Native and Expo apps by one question: does the animation run inside the app and respond to app state? A splash loop can be a video. A mascot that waves when a payment succeeds, looks sad on an error and listens while a user records needs a file the app can drive.

Four criteria matter in practice:

  • Runtime support. Is there a maintained React Native package that plays the format?
  • Control from code. Can the app change state while it runs, through inputs or data binding?
  • Expo fit. Does it work with Expo, and does it need Expo Go or a development build?
  • File size and rights. How large is the file, and what does the license allow?

React Native is an open source framework for building Android and iOS apps with React and native platform capabilities. Its homepage recommends a framework such as Expo for a new app, and Expo adds tooling such as Expo Go and expo-dev-client for projects that need native changes (React Native).

Disclosure: Charmotion is our product. The table below lists the four routes most teams consider.

OptionBest forRoute into React Native
RiveMascots that react to app state@rive-app/react-native plus a .riv file
Lottie or dotLottieLoops and one-shot motionLottieFiles runtimes (check the current React Native player)
Pre-rendered videoLaunch clips and marketingVideo playback in the app
CharmotionGenerating the .riv mascot from one imageOutput is a .riv file you load with the Rive runtime

Is Rive the best choice for an interactive mascot in Expo?

For a mascot that changes mood with app state, Rive is the strongest option in this group. Rive's React Native runtime plays .riv files, controls state machines and binds data to animations. The recommended package is @rive-app/react-native. It replaces the older rive-react-native package and is built on Nitro.

Rive's docs list these requirements for the new runtime:

RequirementMinimum listed
React Native0.78 or later
Expo SDK (Expo users)53 or later
iOS15.1 or later
Android SDK24 or later
Xcode16.4 or later
JDK17 or later

Check the requirements page before you start, and confirm that your Expo SDK and React Native versions match it (Rive React Native runtime docs).

The strengths are control and small app-side code. The mascot's states live in the .riv file, and your code sets inputs or view model values such as a mood number. The cost is a native dependency. Rive is not a drop-in component for Expo Go, and someone has to build or receive the .riv file before the app can use it.

Rive's plan details are covered in Is Rive free?. On Rive's Free plan, exported files play a Rive splash screen, so check the plan before you ship a file to users.

How do you add a Rive mascot to an Expo app?

Rive's Expo guide starts with a development build. The package contains custom native code, so Expo Go cannot load it. The order of work is:

  1. Create the Expo app and add expo-dev-client so you can build a development client.
  2. Install the runtime with npx expo install, including react-native-nitro-modules, which the library requires.
  3. Place the .riv file in the project or host it at a URL.
  4. Load the file with useRiveFile, which accepts a remote URL, a native asset bundle resource name or an ArrayBuffer.
  5. Create a view model instance with useViewModelInstance, then render the animation with useRive and connect the two.
npx expo install expo-dev-client
npx expo install @rive-app/react-native react-native-nitro-modules

useViewModelInstance takes a riveFile and an options object, and returns instance, isLoading and error. Passing async: true creates the instance asynchronously. Show a static placeholder while isLoading is true, so the layout does not jump when the mascot appears.

Build the development client for each platform and test on real devices. Expo Go will not load the mascot, so a passing Expo Go test tells you nothing about the Rive path. Bare React Native projects should follow the native steps on the current runtime page, because the older package's setup differs. For the Expo splash flow, see animated splash screens in Expo and React Native, and for the Expo build step in more detail, see Rive in Expo: development build required.

How do Lottie and dotLottie compare for a React Native mascot?

Lottie is the usual choice when the motion is a loop or a one-shot: a loader, a checkmark or a confetti burst. LottieFiles describes Lottie as a JSON-based vector animation format, and dotLottie (.lottie) as a packaging format that bundles one or more animations with their assets. dotLottie files can also carry themes and state machines, and official runtimes play them on web, iOS, Android and other platforms (dotLottie format).

For a mascot, the gap is control. A Lottie loop plays the way its file was built. Interactive states need the file to contain the state logic and the app to drive it through a runtime. Check the LottieFiles documentation for the current React Native player and confirm it supports the state features you need before you commit.

Lottie is a good fit for a mascot that only loops, such as a waiting character in a loader. It is a weaker fit for a mascot that must switch between happy, sad and listening based on live data. For a side-by-side look at the two runtimes, see Lottie vs Rive in React Native and Flutter and Rive vs Lottie performance and runtime size.

When is a video or GIF enough for a React Native app?

A pre-rendered clip is the simplest route when the mascot never needs to respond. Video and GIF files are easy to produce and share between teams, but they carry no state. A tap cannot change the expression, and a sad face after an error needs a second file.

Video also usually weighs more than a small .riv or Lottie file for the same character. Transparency and playback behavior vary by format and player, so test the file on both platforms before you commit to it. For a format comparison, see GIF vs WebM vs MP4 vs Lottie vs Rive.

Use video for a launch sting, a store clip or a marketing loop. Use a runtime file for the mascot inside the app, where it has to react to what the user is doing.

Where does Charmotion fit for a React Native mascot?

Charmotion takes one finished character image and returns a single Rive (.riv) file with CharacterViewModelMachine, CharacterStateMachine and, when launch is picked, LaunchStateMachine. The mood numbers are fixed: idle 0, happy 1, wave 2, thinking 3, sad 4, loading 5, listening 6, talking 7, sleeping 8 and attention 9. Your app sets the number property mood through the runtime's data binding, and moods blend into each other. Idle is included free, and each other animation costs 1 credit.

The export list includes web, React and SwiftUI code, a README and an AI_README, but no React Native code. You wire the .riv file into @rive-app/react-native yourself, using the steps above, and map your app states to mood numbers. Charmotion's plans are on the pricing page.

What should you check before shipping an animated mascot?

A mascot that works in a demo can still fail in a release build. Before you ship, check these points:

  • Build a development client and test on real iOS and Android devices, not only in Expo Go.
  • Confirm the runtime requirements against your Expo SDK, React Native version, iOS and Android minimums.
  • Read the license on the package's npm page before release. Do not assume the new package carries the same license as the legacy rive-react-native package.
  • Show a placeholder while the view model instance loads, and handle the error value from useViewModelInstance.
  • Keep the mascot's messages short and let the text carry the meaning, so the animation is never the only signal.

Test each state on the device, not only in the editor. A wave that looks right on a desktop can feel slow on an older phone, so keep the file small and check the frame rate during a real session.

Frequently asked questions

Can I run a Rive mascot in Expo Go?

No. Rive's Expo guide says the runtime package contains custom native code and is not compatible with Expo Go, so you need a development build created with expo-dev-client. You can still build the app and test it on your own devices, which is the path Rive's setup guide describes.

Do I need the old rive-react-native package for a new project?

Not for a new project. Rive's React Native docs name @rive-app/react-native as the recommended package and say it replaces the legacy rive-react-native package. The new package is built on Nitro, so it also needs react-native-nitro-modules installed alongside it.

Is Lottie enough for a mascot that reacts to taps?

Only for simple reactions. A Lottie file plays the motion it was built with, and interactive states need state logic in the file plus a runtime that drives it. For a mascot that switches between several moods from live app data, a Rive file with a state machine and data binding is the more direct route.

Which tool should I pick for a loading mascot?

Pick by how the loader is used. If the mascot only loops while data loads, a Lottie or video loop is usually simpler. If the mascot must switch to a success or error mood when the request ends, a Rive file with a loading state and a mood input fits better.

Sources

Related guides