

Every state


default


plenty


low


last-one


out-of-stock


no-cutoff
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| stock | number | 18 | Units in stock; 0 is out of stock. |
| lowAt | number | 5 | At or below this the line says how many are left. |
| cutoff | string | null | "22:00" | Same-day dispatch cut-off as shown. Null hides the line. |
| cutoffText | string | "Order before {time} and it ships today" | The cut-off line; {time} becomes the cut-off. |
| restock | string | null | "Back around 14 December" | When an out-of-stock product is expected back. Null: no line. |
| className | string | – | Extra classes on the wrapper. |


