

Every state


default


hover


focus


split-payment


cash


gbp


long-name
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| shop | { name: string; address: string[]; vatNumber?: string } | { name: "Kiln & Clay", … } | The shop printed at the top. |
| orderNumber | string | "KC-20418" | Order or receipt number. |
| date | string | "2 December 2026, 14:32" | Date and time as printed. |
| lines | { name: string; detail?: string; quantity: number; unitPrice: number }[] | – | What was bought; unit prices in minor units, incl. VAT. |
| shipping | number | null | 495 | Delivery in minor units; 0 is free. Null: no line (bought in the shop). |
| discount | { label: string; amount: number } | null | null | A discount on the order. Null: no line. |
| vat | { rate: number; amount: number }[] | [{ rate: 21, amount: 1700 }] | VAT inside the total per rate, in minor units. Empty: no VAT lines. |
| payments | { method: string; amount: number }[] | [{ method: "Visa •••• 4242", amount: 9795 }] | How it was paid; two or more is a split payment, more than the total shows change. |
| footer | string | null | "Thank you. Returns within 30 days with this receipt." | Line at the foot. Null hides it. |
| printLabel | string | "Print receipt" | Print button text. |
| onPrint | () => void | window.print | Called by the print button. |
| currency | string | "EUR" | ISO 4217 code. |
| locale | string | "en-IE" | Formats the amounts. |
| className | string | – | Extra classes on the wrapper. |
More order summaries
All 8order-summary-05 is in UI ProGet UI Pro, €199


