Forms
Slider
Range slider with custom thumb and track styling.
Precision Range
Allow users to select from a range of values with high-fidelity haptic feedback. Perfect for brightness, volume, and zoom controls.
Real-world: Media Controls
An interactive example showing synchronized state across multiple sliders.
Properties
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | — | Raw data string or URL to encode into the QR grid |
defaultValue | number | — | Initial uncontrolled default value |
min | number | — | Minimum numerical selectable bound |
max | number | — | Maximum numerical selectable bound |
step | number | — | Step increment intervals for selection |
onChange | (value: number) => void | — | Callback function triggered when the value changes |
label | string | — | Primary text label description |
showValue | boolean | — | If true, prints percentage label text |
disabled | boolean | — | If true, disables all user interaction and applies faded opacity |
formatValue | (v: number) => string | — | Configures the formatValue option |