r/reactnative • u/ramcodes • 2d ago
Ordering food never looked this delicious 🍔 (React Native + Reanimated)
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.
12
u/_ri4na 2d ago
Slop.. yummy
3
u/soldture 2d ago
too much of useless animations, everything is blinking
3
u/pjjiveturkey 2d ago
Tall chatgpt to add 80% less animations
1
u/ngqhoangtrung 2d ago
why does everything need to bounce?
1
u/gidrokolbaska 2d ago
Jesus...
0
u/EuMusicalPilot 2d ago
LGTM
-4
u/MostlyBreadCrumbs 2d ago
I like it
7
u/Darksteel213 2d ago
Slop slop slop slop