DualSlider
Two-handle range slider.
Loading…
Two-handle range slider.
Loading…
Range inputs — levels, exposure min/max, filter thresholds with two handles.
| Prop | Type | Default | Description |
|---|---|---|---|
| value | [number, number] | — | Start and end values. |
| onValueChange | (value: [number, number]) => void | — | Called on change. |
| min | number | 0 | Minimum. |
| max | number | 100 | Maximum. |
| step | number | 1 | Step increment. |
| label | string | — | Optional label above track. |
| className | string | — | Optional CSS class. |
Also copy lib/utils.ts (cn helper):