Checkout
Order Summary
A read-only order review with line items, subtotal, shipping, tax, and total.
money
review
totals
Preview
Order summary
1
$129.00Aurora Lamp
Subtotal$129.00
Total$139.32
Installation
Run the shadcn CLI. Dependencies and the shared lib block come with it.
npx shadcn add order-summaryUsage
Import
import { OrderSummary } from "@/components/lumo/order-summary"Example
<OrderSummary
lines={lines}
subtotal={subtotal}
shipping={{ amount: 0, currency: "USD" }}
tax={tax}
total={total}
/>Props
| Prop | Type | Default | Required |
|---|---|---|---|
| lines | CartLine[] | - | Required |
| subtotal | Money | - | Required |
| shipping | Money | - | |
| tax | Money | - | |
| total | Money | - | |
| title | string | "Order summary" | |
| locale | string | - |
All props accept standard HTML attributes unless otherwise specified.
Dependencies
Lumo blocks
- lib
Own every line
Lumo blocks copy into your repo. No runtime dependency, no lock-in. Edit the code to fit your product.