

Every state


default


hover


focus


chosen


closed


locker
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| name | string | "The Paper Shop" | The shop or locker's name. |
| address | string | "Haarlemmerstraat 112, Amsterdam" | Street and town on one line. |
| kind | string | null | "Parcel shop" | What kind of point. Null hides it. |
| distance | number | null | 450 | Distance in metres, shown as m or km. Null hides it. |
| hours | { day: string; hours: string | null }[] | – | The week in display order; null hours is closed that day. |
| today | number | 1 | Index of today in hours; that row is highlighted. |
| openNow | boolean | true | Open right now; said as Open or Closed. |
| statusNote | string | null | "until 18:00" | Follows Open or Closed. Null: the word alone. |
| readyFrom | string | null | "Ready from Thursday 3 December" | When the order is ready there. Null hides it. |
| chosen | boolean | false | Start chosen. |
| chooseLabel | string | "Choose this point" | Button text. |
| chosenLabel | string | "Chosen" | Button text once chosen. |
| onChoose | () => void | – | Called when the buyer picks this point. |
| locale | string | "en-IE" | Formats the distance. |
| className | string | – | Extra classes on the card. |
More commerce parts
All 19commerce-12 is in UI ProGet UI Pro, €199


