Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
The React Native Reanimated library extends the Animated library API and provides greater flexibility when using gesture-based interactions. With Reanimated, you can easily create smooth animations and interactions that run on the UI thread. For more information about this library and its API, see https://docs.swmansion.com/react-native-reanimated/ in the official Software Mansion documentation.

Installation

  1. Add the JavaScript library dependency in the package.json file:
  2. Add the @amazon-devices/react-native-reanimated plugin to your babel.config.js:
  3. Run the following command to clear the Metro bundler cache:
  4. Reinstall the package-lock.json file by running the npm install command.
For additional information and context, see installation in the Software Mansion documentation.

Examples

The following example shows how to run a simple animation in an infinite loop using the withTiming method.
The following example shows how run a spring-based animation using the withSpring function:

API reference

The reanimated library on Vega provides a Turbo Module, which adds support for most of the following methods.

Animations

Core

Scroll

Device

Threading

workletize

To convert a JavaScript function into a serializable object, which can be copied and ran over on UI thread. Functions are marked with “worklet”. Directives are automatically picked up and workletized by the Reanimated Babel plugin.

Utilities

Advanced APIs

Known issues and limitations

The reanimated library on Vega has a few exceptions in terms of API support. Vega doesn’t support the following hooks and methods:
  • useAnimatedSensor
  • useReducedMotion
  • Layout Animations on Fabric
  • SETs (Shared Element Transitions)
  • Animations that use withRepeat stop repeating after fast refresh is used.
  • Style doesn’t update on the animation after fast refresh is used.

Supported versions

For information on other libraries, see Supported Third-Party Libraries and Services.

Credits

This project has been built and is maintained thanks to the support from Shopify, Expo.io, and Software Mansion.
Last modified on October 13, 2025