Slider
Allows user to select a range of related values.
Import
js
import { MpSlider } from '@mekari/pixel3'
Playground
API
MpSlider
Props
Events
Slots
Name | Type | Default |
---|---|---|
id | string | - |
value | number | numer[] | 0 |
min | number | 0 |
max | number | 100 |
step | number | 1 |
variant | single | range | single |
color | ColorToken | string | sky.100 |
gradient-color | ColorToken[] | string[] | ["blue.50", "blue.100", "blue.400", "blue.700"] |
is-gradient | boolean | false |
is-disabled | boolean | false |