npm install
Install the library and all required peer dependencies.- npm
- yarn
- pnpm
Peer Dependencies
All of these packages are required:| Package | Version | Purpose |
|---|---|---|
react-native-reanimated | ^3.0.0 | Worklet animations |
react-native-gesture-handler | ^2.10.0 | Gesture recognition |
@react-navigation/native | ^6.0.0 | Navigation context |
@react-navigation/native-stack | ^6.0.0 | Stack navigator |
@react-navigation/elements | ^1.0.0 | Navigation components |
react-native-screens | ^3.20.0 | Native screen optimization |
react-native-safe-area-context | ^4.0.0 | Safe area insets |
Optional Dependencies
For advanced features, install these as needed:Native Setup
Bare React Native
Run the native setup for Reanimated and Gesture Handler:Expo
If you’re using Expo, make sure to useexpo prebuild to generate native code:
Verify Installation
Create a simple test file to confirm everything is linked correctly:Next Steps
- Move on to Quick Start to create your first animated navigation
- Check Stack Types to choose between Blank Stack, Native Stack, or Component Stack
