r/reactnative • • 23h 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.

0 Upvotes

9 comments sorted by

13

u/_ri4na 23h ago

Slop.. yummy

1

u/shun_tak 22h ago

nom nom nom

3

u/soldture 22h ago

too much of useless animations, everything is blinking

3

u/pjjiveturkey 21h ago

Tall chatgpt to add 80% less animations

1

u/ngqhoangtrung 19h ago

why does everything need to bounce?

8

u/Darksteel213 23h ago

Slop slop slop slop