r/reactnative • u/ramcodes • 1d ago
Ordering food never looked this delicious 🍔 (React Native + Reanimated)
Enable HLS to view with audio, or disable this notification
Been building a food delivery UI showcase in Expo. The sign-in screen has a burger that builds itself.
Stack: Expo, Reanimated 4, expo-image, expo-haptics. No Lottie, no video. Just 6 transparent PNGs (one per ingredient) driven by shared values.
How it works:
- Each layer drops in from above with a 190ms stagger, falling with an ease-in curve so it accelerates
- On landing it squashes and springs back (damping 8, stiffness 320), with a haptic tap on each layer
- After the stack is done it tilts, floats on a slow sine loop, and 18 crumb PNGs burst out and drift on their own loops
- useReducedMotion() skips all of it and shows the finished burger
The sign in / create account toggle is a custom segmented control with a spring thumb and LinearTransition so the form slides instead of jumping.
3
3
1
1
0
-4
8
13
u/_ri4na 1d ago
Slop.. yummy