react-native-reanimated
Installation
SKILL.md
React Native Reanimated
Overview
UI-thread animation library for React Native. Reanimated 4.x runs animations on the native UI thread for guaranteed 60fps performance, replacing Framer Motion for mobile applications. Provides shared values, animated styles, declarative entering/exiting transitions, and gesture integration.
Install: pnpm add react-native-reanimated (included with Expo SDK 54+)
Workflows
Adding animations to a screen:
- Import from
react-native-reanimated:Animated,useSharedValue,useAnimatedStyle,withTiming - Create shared values for animated properties
- Define animated styles using
useAnimatedStyle - Apply to
Animated.View,Animated.Text, etc. - Check
useReducedMotion()and skip animations when true - Test on device for smooth 60fps