

Every state


default


hover


focus


single


no-save


long-name


removed
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| item | { name; href; image; options?; unitPrice; compareAtPrice?; quantity; max; note? } | – | The line. Prices in minor units; image takes fit "cover" or "contain". |
| currency | string | "EUR" | ISO 4217 code. |
| locale | string | "en-IE" | Formats the prices. |
| onQuantity | (quantity: number) => void | – | Called with the new quantity. |
| onRemove | () => void | – | Called on remove; the row offers undo. |
| onUndo | () => void | – | Called when the remove is undone. |
| onSaveForLater | (() => void) | null | – | Moves it to a saved list. Null hides the action. |
| className | string | – | Extra classes on the row. |
More commerce parts
All 19commerce-04 is in UI ProGet UI Pro, €199


