

Every state


default


hover


focus


open


inches


focus-units


no-toggle
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| triggerLabel | string | "Size guide" | The link's text. |
| title | string | "Mug sizes" | The sheet's heading. |
| intro | string | null | – | A line above the table. Null hides it. |
| columns | { label: string; kind: "length" | "volume" | "text" }[] | – | Lengths are given in cm, volumes in ml; text stays as given. |
| rows | { size: string; values: (number | string)[] }[] | – | One row per size, one value per column. |
| note | string | null | – | How it was measured, under the table. Null hides it. |
| defaultUnit | "metric" | "imperial" | "metric" | The units the table opens in. |
| unitToggle | boolean | true | Show the cm / in toggle. |
| defaultOpen | boolean | false | Open the sheet on mount (for previews). |
| locale | string | "en-IE" | Formats the numbers. |
| className | string | – | Extra classes on the wrapper. |
More commerce parts
All 19commerce-14 is in UI ProGet UI Pro, €199


