Transition-Aware Primitives
The default Transition export wraps common React Native primitives so they can receive slot-driven styles. Scrollable primitives also coordinate navigation gestures and publish scroll metadata.
Transition.View
Use this for non-pressable elements that need transition-aware styling.
TSX
Transition.Pressable
Use this when the element is interactive.
TSX
Transition.ScrollView
This participates in the scroll registry, hands off gestures, and publishes scroll metadata to current.layouts.scroll.
TSX
Transition.FlatList
This gives list content the same gesture-aware scroll behavior.
TSX
Use transition-aware scrollables inside sheets and other gesture-driven screens whenever possible.
Common Primitive Props
- Each primitive keeps the props of its React Native component.
styleIdidentifies the element targeted by a matching key fromscreenStyleInterpolator.
TSX
Related reading: Boundary Components, Custom Animations, and Layers.