Stacked Modals with React Native Reanimated
Thursday, December 12, 2024
demos
stacked-modals
An ongoing collection of React Native animations crafted with Reanimated, Gesture Handler, and Skia.
TypeScript
3.2k
296
This is the first exclusive demo I launch on Demos π
Even though this is actually a modal, you can see this animation as the natural evolution of the good old Toast:
v3. Stacked Modals: this one :)
I would say that this animation is a combination of two ingredients:
Layout Animations (as always)
Extensive optimization through heavy memoization
The animation itself is relatively simple, but the real challenge lies in supporting potentially infinite modals. While this scenario is rare in real-world applications, itβs a fun challenge to tackle nonetheless.
Unlock the beauty of React Native animations
Learn Reanimated, Gesture Handler & Skia with Reanimate.dev
Feedback on Stacked Modals
Ideas, bugs, or anything that felt off: I read every message. For anything else, write to hello@reactiive.io.
Send feedback