Slider
A range slider for selecting numeric values with color variants.
Usage
Range Slider
Variants
Color variants for different contexts.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
modelValue | number[] | - | The slider value(s). Use with v-model. |
variant | 'default' | 'destructive' | 'success' | 'warning' | 'info' | 'neutral' | 'default' | The color variant. |
min | number | 0 | Minimum value. |
max | number | 100 | Maximum value. |
step | number | 1 | Step increment. |
disabled | boolean | - | Whether the slider is disabled. |