Receipt
Review a ride receipt laid out as a paper slip with a torn edge and a full fare breakdown. Mark it as a business trip and an expense stamp presses down on the slip; PDF and email exports confirm right on it.
About the Receipt screen
A complete ride-hailing flow: destination, ride options, matching, driver arriving, the trip, receipt and safety. This is one of 14 ride screens.
How it behaves
It responds to taps and scrolling. On a phone you feel a selection tick when you switch an option, a light tap on buttons and a firmer tap on bigger actions.
- The header reacts to scrolling instead of sitting on top of the content.
- Money is set with even-width digits and smaller cents, so totals don't wobble as they change.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/ride-receipt copies the screen into screens/ride/receipt.tsx along with the 8 components it uses, so the source is yours to edit.
It's shown in neutral ink: wrap it in an <Accent> to give it your brand colour. It follows light and dark mode, and runs on iOS and Android, including Expo Go.
Built from
- 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.
- 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.
- Map ViewCalm vector city map with no maps SDK: pickup, dropoff and price pins, a route that draws itself, and a car that drives along it. Nearby cars appear and fade out as they come and 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.
- SeparatorThin divider line, horizontal or vertical. It can draw itself in as a page builds, or show a perforated tear line for tickets and receipts.
- SwitchOn/off switch whose colour fills in from behind the thumb as it turns on. Turning off fades it back quickly, and a disabled switch gives a gentle flicker when tapped.
- 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.
- Trip ProgressTrip and delivery timeline from pickup through stops to dropoff, with times, status and room for extra details. A glowing marker rides the current leg and lights up each arrival.