Skip to main content
To use Rive with Expo, you’ll need to install the Rive React Native package. Because this package contains custom native code, it’s not compatible with Expo Go. Instead, you’ll need to use a development build, which gives you full access to native modules.
Development builds are the recommended setup for production apps.
This guide will walk you through integrating Rive into your Expo project, including installing dependencies, configuring your build, and testing your graphics.

Initial Setup

If you don’t already have a project, create a new Expo app:
npx create-expo-app MyRiveApp
Install the Expo development client:
npx expo install expo-dev-client
Then install the Rive package:

iOS Minimum Version

Creating a Development Build

To run your app with the Rive runtime, you’ll need to create a development build. Since there are several ways to do this, refer to the Expo development builds guide to choose the method that best suits your needs.

Running Your App

Once you’ve created a development build and installed it on your device or simulator, start your app with:
npx expo start
You can use the following component to test Rive:

Adding Local Assets

The example above loads a .riv file from a remote URL. To use local .riv files, they must be bundled into your native build. See Loading in Rive Files for instructions on working with local assets.