Order Card

Pro

Order history and tracking card with a status pill, item thumbnails and a step bar that fills as the order moves along. Once delivered, the bar turns into a proof-of-delivery line.

Preview

Installation

npx @lumioui/cli add pro/order-card

Usage

import { OrderStatusPill, OrderThumbStack, OrderCard } from "@/components/ui/order-card/order-card";
<OrderCard />

Also exported: OrderStatusPill, OrderThumbStack.

Examples

Booking

Upcoming trips in a stays app, teal.

Retail order

"Your orders" for a menswear shop in neutral ink.

Food delivery

A delivery app's orders tab, orange.

Ride receipt

Trip history in a ride app, green.

API reference

Prop Type Default
status* { label: string —
title* string —
tone OrderStatusTone } —
meta string

Right side of the status row — "Mar 3", "#4821".

—
subtitle string —
items readonly OrderItem[] —
thumbnails "stack" | "strip"

"stack" overlaps up to three thumbnails beside the title; "strip" lays them out in a row below. Default "stack".

"stack"
leading React.ReactNode

Replaces the thumbnail stack beside the title — a restaurant photo, a date block, a driver avatar.

—
steps readonly string[]

Step names for the progress bar; omit for no progress.

—
step number

Index of the current step in steps.

0
live boolean

The current step is happening now (a courier on the road): its segment breathes slowly in place, paused off screen. Default false.

false
proof string

Proof-of-delivery line ("Left at front door · 6:42 pm"). Shown in place of the step bar once the status tone is "success".

—
eta string

Delivery or arrival line — "Arriving today by 8 pm".

—
total string

Pre-formatted total — "$184.20".

—
totalLabel string

Label before the total. Default "Total".

"Total"
actions readonly OrderAction[] —
onPress () => void

Makes the whole card open the order detail.

—
className string —
children React.ReactNode

Custom content between the header and footer — a route, check-in times.

—