

Every state


default


focus


filled


numbered


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "room-size" | Slider id. |
| name | string | "roomSize" | Form name; the slider sends the step index, onChange gives the mark. |
| label | string | "Room size" | Visible label. |
| marks | { value: string; label: string; hint?: string }[] | Small, Medium, Large, XL | The steps; the label is read out as the value, the hint shows under the slider. |
| defaultIndex | number | 1 | Index of the starting mark. |
| disabled | boolean | – | Disables the slider. |
| onChange | (mark, index: number) => void | – | Called with the chosen mark. |
| className | string | – | Extra classes on the outer wrapper. |
More range sliders
All 5range-slider-02 is in UI ProGet UI Pro, €199


