Slider
Single-value range control with optional readout.
Choose Slider for an approximate value within a bounded range where direct manipulation aids comparison. The accent fill covers the full visible track height.
Interactive example
Loading interactive example
API
| Member | Type | Kind | Required | Default |
|---|---|---|---|---|
disabled | boolean | prop | No | false |
formatValue | (value: number) => string | callback | No | undefined |
label | string | prop | No | undefined |
max | number | prop | No | 100 |
min | number | prop | No | 0 |
onValueChange | (value: number) => void | callback | No | undefined |
showValue | boolean | prop | No | false |
step | number | prop | No | 1 |
value | number | binding | No | 0 |
Examples
Source
Loading source