

Every state


default


coffee


sneakers
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| products | StockProduct[] | – | Three products in the stock table: name, sku, stock; the first one gets sold |
| channels | string[] | – | Three channel names; the first one receives the order |
| syncTimes | string[] | – | How long the second and third channel took to sync, e.g. 0.4 s |
| orderNumber | string | – | The order number shown with the order |
| ordered | number | – | Units in the order |
| lowAt | number | – | At or below this count the item is flagged Low stock |
| movements | StockMovement[] | – | Earlier stock movements, newest first: what, qty, time (three are shown) |
| location | string | – | Location in the stock panel's title bar |
| accent | string | – | Pulse and highlight colour: a token like var(--chart-2) or any CSS colour |
| label | string | – | Screen-reader description of the whole visual |
| still | boolean | – | Show the end state only, never animate |
More shop and checkout
All 4visual-commerce-02 is in UI ProGet UI Pro, €199

