

Every state


default


hover


focus


picked


error


nothing-picked


loading


sent


gbp
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "return" | Base for the ids inside; each item's fields hang off it. |
| heading | string | "Choose what to return" | Heading. |
| deadline | string | null | "Return by 31 December 2026" | One line under the heading. Null hides it. |
| items | { id; name; image; options?; quantity; unitPrice; returnable?; note? }[] | – | What was bought. Prices in minor units; image takes fit "cover" or "contain"; returnable false greys the item out and note says why. |
| reasons | string[] | ["Arrived damaged", …] | The reasons in each select, in order. |
| defaultSelection | Record<string, { quantity: number; reason: string }> | {} | Items picked at the start, by item id. |
| returnFee | number | null | 395 | Taken off the refund, in minor units; 0 is free. Null: no line. |
| submitLabel | string | "Continue" | Button text. |
| onSubmit | (picks: { id; quantity; reason }[]) => Promise<void> | – | Called once every picked item has a reason. The default waits a moment. |
| currency | string | "EUR" | ISO 4217 code. |
| locale | string | "en-IE" | Formats the amounts. |
| className | string | – | Extra classes on the form. |
More order summaries
All 8order-summary-06 is in UI ProGet UI Pro, €199


