Back to components

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-confirmation

Usage

Import
import { OrderConfirmation } from "@/components/lumo/order-confirmation"
Example
<OrderConfirmation
  orderNumber="LUMO-40271"
  email="you@example.com"
  lines={lines}
  total={total}
/>

Props

PropTypeDefaultRequired
orderNumberstring-
Required
emailstring-
linesCartLine[]-
totalMoney-
onContinue() => void-
continueLabelstring"Continue shopping"

All props accept standard HTML attributes unless otherwise specified.

Dependencies

Lumo blocks

  • lib

npm packages

lucide-react

Own every line

Lumo blocks copy into your repo. No runtime dependency, no lock-in. Edit the code to fit your product.