Inputs

Slider

Continuous or discrete numeric input with single and range modes.

Slider

Playground

Configure the baseline public contract and copy synchronized Vue markup.

Interactive preview

Changes are reflected in the example and source.

Properties

Step

Show value

Discrete

Disabled

Vue

<m-slider
  label="Volume"
  :min="0"
  :max="100"
  :step="10"
  show-value
  :discrete="false"
  :disabled="false"
  v-model="value"
 />

MSlider API

Props, slots, and events are extracted from the current public UI Kit contract.

MSlider

Input family
src/runtime/components/ui/slider

Props

NameTypeDefault
readonly
booleanfalse
min
number0
max
number100
step
number1
label
string''
showValue
booleanfalse
discrete
booleanfalse
range
booleanfalse
orientation
'horizontal' | 'vertical''horizontal'
name
stringundefined
ariaLabelStart
string''
ariaLabelEnd
string''

Slots

Events

@update:modelValuenumber | number[]