Slider
Import
- Slider: The main component to display a slider.
Usage
Examples
Default
Primary
Success
Warn
Error
API
Slider Props
Props | Type | Description |
---|---|---|
defaultValue | number[] | The default value of the slider. |
max | number | The maximum value of the slider. |
min | number | The minimum value of the slider. |
step | number | The granularity the slider can step through values. |
variant | 'default' | 'primary' | 'success' | 'warn' | 'error' | The variant of the slider. |