
Product
Introducing Custom Tabs for Org Alerts
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.
rive-react-native
Advanced tools

🚀 New Runtime Available for Testing!
We're excited to announce that the new Rive React Native runtime is now public and ready for testing. Built with Nitro for improved performance and better React Native integration, this next-generation runtime leverages the new React Native architecture and will eventually be distributed on NPM under the name
@rive-app/react-native.Try it now: https://github.com/rive-app/rive-nitro-react-native
Current Status: The new package is in development preview. While it's functional and actively maintained, the API may change in future releases. We recommend testing thoroughly before using in production applications.
Migration Timeline:
- Short term: Complete the new runtime and unblock production usage
- Medium term: Address major concerns in this legacy package while supporting migration
- Long term: Full migration to the new package
We're actively gathering feedback to improve the new runtime. Please share your thoughts and report any issues you encounter!
A React Native runtime library for Rive.
This library is a wrapper around the iOS/Android runtime, providing a component and ref pattern for React Native applications.
Rive is a real-time interactive design and animation tool that helps teams create and run interactive animations anywhere. Designers and developers use our collaborative editor to create motion graphics that respond to different states and user inputs. Our lightweight open-source runtime libraries allow them to load their animations into apps, games, and websites.
:house_with_garden: Homepage
:blue_book: General help docs
🛠 Resources for building in Rive
Follow along with the link below for a quick start in getting Rive React Native integrated into your multi-platform applications.
Getting Started with Rive in React Native
Because this runtime library has a dependency on the Rive Android and Rive iOS runtimes, the supported devices align with each of these dependencies minimum supported devices, as well as the minimum device requirements of the React Native framework.
Check out the example/ folder to run an example application using the Rive React Native runtime. It runs on the local build of this library, and showcases a number of ways to use the Rive component and useRef hook pattern:
Steps:
yarn bootstrapexampleyarn expo run:android or yarn expo run:iosiOS:
pod install (first time) or pod update RiveRuntime (updates to the underlying Rive iOS runtime) in the example/iOS folder to get the runtime installed or updatedUsing an older version of the runtime and need to learn how to upgrade to the latest version? Check out the migration guides below in our help center that help guide you through version bumps; breaking changes and all!
We love contributions! Check out our contributing docs to get more details into how to run this project, the examples, and more all locally.
Have an issue with using the runtime, or want to suggest a feature/API to help make your development life better? Log an issue in our issues tab! You can also browse older issues and discussion threads there to see solutions that may have worked for common problems.
⚠️ Advanced Configuration This section is for advanced users who need to use specific versions of the Rive native SDKs. In most cases, you should use the default versions that come with the library. Only customize these versions if you have a specific requirement and understand the potential compatibility implications.
Important: If you customize the native SDK versions and later update
rive-react-nativeto a newer version, you should revisit your custom version settings. The custom versions you specified may not be compatible with the updatedrive-react-nativeversion. Always check the default versions in the new release and test thoroughly.
By default, rive-react-native uses the native SDK versions specified in package.json:
"runtimeVersions": {
"ios": "6.12.0",
"android": "10.4.5"
}
These versions are tested and known to work well with this version of rive-react-native.
You can override these default versions using platform-specific configuration files:
Create or edit ios/Podfile.properties.json:
{
"RiveRuntimeIOSVersion": "6.13.0"
}
Then run:
cd ios && pod install
Add to android/gradle.properties:
Rive_RiveRuntimeAndroidVersion=10.5.0
For Expo projects, use config plugins in your app.config.ts:
import { ExpoConfig, ConfigContext } from 'expo/config';
import { withPodfileProperties } from '@expo/config-plugins';
import { withGradleProperties } from '@expo/config-plugins';
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
plugins: [
[
withPodfileProperties,
{
RiveRuntimeIOSVersion: '6.13.0',
},
],
[
withGradleProperties,
{
Rive_RiveRuntimeAndroidVersion: '10.5.0',
},
],
],
});
The library resolves versions in the following order:
iOS:
ios/Podfile.properties.json → RiveRuntimeIOSVersionpackage.json → runtimeVersions.ios (default)Android:
android/gradle.properties → Rive_RiveRuntimeAndroidVersionpackage.json → runtimeVersions.android (default)FAQs
Rive React Native
The npm package rive-react-native receives a total of 57,225 weekly downloads. As such, rive-react-native popularity was classified as popular.
We found that rive-react-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.