Recipe Detail
Recipe page with ingredients that scale to your servings and built-in step timers. Start cooking opens a dark, easy-to-read cook mode that walks you through each step.
About the Recipe Detail screen
Food ordering and recipes: restaurant pages, carts, live courier tracking and grocery lists. This is one of 8 food screens.
How it behaves
It responds to taps, scrolling and pinch to zoom. On a phone you feel a light tap on buttons, a selection tick when you switch an option, a firmer tap on bigger actions and a success pulse when the task completes.
- Has an empty state for when there's nothing to show yet.
- The header reacts to scrolling instead of sitting on top of the content.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/food-recipe-detail copies the screen into screens/food/recipe-detail.tsx along with the 7 components it uses, so the source is yours to edit.
It's shown here in the orange accent: wrap it in a different <Accent> to recolour every button, highlight and chart at once. It follows light and dark mode, and runs on iOS and Android, including Expo Go.
Built from
- Animated NumberNumber that moves to each new value as a calm count-up or a roll where only the changed digits turn, set in type or in dot-matrix LEDs whose dots switch on in place. Screen readers announce just the final value, not every step.
- AvatarCircular profile image with fallback initials and a presence dot. An optional mode shows presence on the photo itself, bright when online and faded when away or offline.
- GlassGlass surface for cards and controls: system glass on newer iOS, real refraction on the web and a frosted look elsewhere. Light can gather under your finger, and panes merge on newer iOS and the web.
- IconIcon set drawn on one consistent grid, sized and coloured from your theme. The heart, star and bookmark can fill in place inside their outline, then fade back out.
- LightboxPhoto gallery where any tapped photo grows out of its exact tile into a full-screen viewer, then flies back into the tile of whichever photo is showing when you let it go.
- TextThemed type scale from caption to display that follows light and dark mode. Includes a pull-quote style with an accent rule and a quieter dimmed tone for secondary text.
- Timer RingCountdown shown as a ring that drains as time passes, with pause, resume and a one-minute extend. The last ten seconds count down digit by digit and it finishes on “Done”.