Checkout
Order Confirmation
A post-purchase confirmation with order number, receipt email, an item summary, and the total.
success
receipt
state
Preview
Order confirmed
Thanks. Your order LUMO-40271 is on its way.
- Aurora Lamp x 1$129.00
Total $139.32
Installation
Run the shadcn CLI. Dependencies and the shared lib block come with it.
npx shadcn add order-confirmationUsage
Import
import { OrderConfirmation } from "@/components/lumo/order-confirmation"Example
<OrderConfirmation
orderNumber="LUMO-40271"
email="you@example.com"
lines={lines}
total={total}
/>Props
| Prop | Type | Default | Required |
|---|---|---|---|
| orderNumber | string | - | Required |
| string | - | ||
| lines | CartLine[] | - | |
| total | Money | - | |
| onContinue | () => void | - | |
| continueLabel | string | "Continue shopping" |
All props accept standard HTML attributes unless otherwise specified.
Dependencies
Lumo blocks
- lib
npm packages
lucide-reactOwn every line
Lumo blocks copy into your repo. No runtime dependency, no lock-in. Edit the code to fit your product.