

Every state


default


hover


focus


none-ticked


all-ticked


adding


added
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| title | string | "Complete the set" | Heading over the rows. |
| product | { name; href; image; price } | – | The product on the page, always in the set. Price in minor units; image takes fit. |
| addOns | { id; name; href; image; price; bundlePrice; checked? }[] | – | Extras to tick; bundlePrice below price makes the saving. |
| onAdd | (addOnIds: string[]) => Promise<void> | void | – | Called with the ticked add-ons; the button waits for it. |
| pending | boolean | false | Start in the adding state (for previews). |
| currency | string | "EUR" | ISO 4217 code. |
| locale | string | "en-IE" | Formats the prices. |
| className | string | – | Extra classes on the wrapper. |
More commerce parts
All 19commerce-03 is in UI ProGet UI Pro, €199


