- Animations
- fade · slide · scale · custom
- Swipe
- up · down · left · right
- Thread
- UI · worklets
- Backdrop
- color · yours · none
- Control
- visible · ref
- Platforms
- iOS · Android · web
- Peers
- reanimated · gesture handler
- License
- MIT
react-native-reanimated-modal

A modal built on React Native’s own Modal — so it behaves like one on every platform — with its animations and gestures in Reanimated and Gesture Handler: they run on the UI thread, and stay smooth while JavaScript is busy.
npm install react-native-reanimated-modalFeatures
Section titled “Features”-
fade,slidefrom any edge andscale, each with its duration — as a string, or a typed config. -
Worklets for the content and the backdrop get the progress, the swipe offset and the state, and return a style: on top of a preset, or as
customon their own. -
In one direction or all four, with a distance to reach, and a spring back when it is not reached; the backdrop fades as the content goes.
-
A color and an opacity, your own component (a blur), or none; a press closes the modal, or calls your handler, or does nothing.
-
visibleandonHidelike any modal, orref.current.open()/close()when the modal is mounted visible. -
coverScreendraws the modal in your tree instead of a native window: modals stack, and sit in aFullWindowOverlayabove React Navigation’s screens. -
The Android back button (or your handler for it), translucent status and navigation bars, iOS orientations — the native
Modal’s props, passed through. -
Test IDs for the container, the backdrop and the content; works with Jest and React Native Testing Library.
-
Small
One component in TypeScript, no dependencies of its own: Reanimated, Worklets and Gesture Handler are peers.
For AI assistants
Section titled “For AI assistants”Every page is also Markdown: add .md to its URL, or use Copy page above its title. llms.txt lists them, llms-full.txt is all of them in one file — LLMs.