Reanimated Driver
Advanced off-thread animations with Reanimated
Reanimated provides spring and timing animations for React Native and React Native Web, with off-thread execution on native.
Installation
yarn
npm
bun
pnpm
Follow the Reanimated installation guide to complete setup for your platform.
Configuration
Add your animations to your Tamagui config:
The config format is the same for all four drivers, so a name means the same motion whichever driver renders it.
How it works
At runtime, this driver parses animatable style properties and hands them over to Reanimated using worklets. Animations run on the UI thread for smooth 60fps performance.
Animation configuration
Reanimated animations support both spring and timing (tween) animations:
Spring animations
stiffness, damping, and mass still work for a config already tuned against
them, and Reanimated’s velocity, overshootClamping, and rest thresholds pass
through.
Timing animations
A plain CSS string means the same thing: '300ms ease-out'.
Delay
The delay is specified in milliseconds.
When to use
Advantages:
- Off-thread animations: runs on UI thread for 60fps performance
- Cross-platform: works on web and React Native
- Advanced features: worklets, gesture integration, shared values
- React Native optimized: highest performance on native platforms
Considerations:
- Larger bundle size
- Requires Reanimated setup and configuration
- More complex than simpler drivers
- Web-only apps might prefer Motion or CSS drivers
Platform-specific configuration
You can use Reanimated on native and a lighter driver on web:
Then import without the extension:
Example
Zero re-renders
The Reanimated driver works with Tamagui to bypass all internal style changes and hand off directly to Reanimated worklets.
Advanced features
Reanimated provides advanced features:
- Gesture integration: animate based on gesture values
- Shared values: share animated values between components
- Worklets: JavaScript functions that run on the UI thread
- Custom animations: full control over animation curves
See the Reanimated documentation for more details.