

Every state


default


hover


focus


sale


sold-out


long-name


removed
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| item | { name; href; image; price; compareAtPrice?; viewed; soldOut? } | – | The product. Prices in minor units; viewed is shown as given ("2 hours ago"); image takes fit. |
| onRemove | () => void | – | Called on remove from history; the card offers undo. |
| onUndo | () => void | – | Called when the remove is undone. |
| currency | string | "EUR" | ISO 4217 code. |
| locale | string | "en-IE" | Formats the prices. |
| className | string | – | Extra classes on the card. |
More commerce parts
All 19commerce-13 is in UI ProGet UI Pro, €199


