Food

Food Home

Food Pro

Food delivery home with tonight’s offer as a poster, photo categories and restaurants with their delivery times. Add a dish and a small copy of it flies into the cart.

About the Food Home 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, pinch to zoom and long presses. On a phone you feel a light tap on buttons, a selection tick when you switch an option and a firmer tap on bigger actions.

  • Has an empty state for when there's nothing to show yet.
  • Keeps fields and actions above the on-screen keyboard.
  • Respects Reduce Motion: movement drops out and the feedback stays.

Make it yours

npx @lumioui/cli add pro/food-food-home copies the screen into screens/food/food-home.tsx along with the 8 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

  • Add to Cart ButtonAdd button that becomes its own result: busy dots while adding, a check and “In bag”, then a quantity stepper with a trash icon at one. A compact version stretches open over product photos.
  • 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.
  • CountdownLive countdown with rolling digits, inline or as blocks that brighten through the final ten seconds. At zero it can celebrate and show your result, or quietly fade if time ran out.
  • 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.
  • ImageImage with a placeholder while it loads, a fallback when it fails, and aspect-ratio handling so your layout doesn’t jump when the picture arrives.
  • 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.
  • Search InputSearch field with a clear button and a busy indicator while results load. Focus brightens the field, matching text in results can be highlighted, and a frosted glass style is included.
  • 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.

More in Food

View all 8