Food

Food Cart

Food Pro

Food basket led by the arrival time, with rush, regular or pickup options, add-ons, tip and a clear receipt. Placing the order turns the button into its own receipt and locks in an exact time.

About the Food Cart 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 swipes. On a phone you feel a light tap on buttons, a selection tick when you switch an option, a heavy press on the main commit, a success pulse when the task completes and a warning buzz when something can't be done yet.

  • 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-cart copies the screen into screens/food/food-cart.tsx along with the 12 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.
  • ButtonPill button that presses down under your finger, in eight styles from solid to glass, with a built-in loading state that swaps in place while an action runs.
  • Cart ItemCart line with thumbnail, options, quantity stepper and line total. Removing an item offers a quick Undo before the row closes, and saving for later lifts the item away.
  • Empty StatePlaceholder for empty lists, no search results and errors, with an icon, headline, short message and action. Soft light falls from the top as the content fades in.
  • 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.
  • Order SummaryCheckout totals with subtotal, discount, shipping and tax, and a big total that counts to each new value. Applied promo codes show as removable chips.
  • Swipeable RowList row that swipes to reveal actions on either side. Pull far enough and the main action fills the row and runs when you let go; deleted rows fold away and only one row stays open.
  • 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.
  • Tip SelectorTip picker with percentage or fixed-amount options and a highlight that glides between them. An Other option opens a custom amount field for any tip you like.

More in Food

View all 8