Slider

Pick a value from a range, with full keyboard support.

With label

Volume60%

Steps

Disabled

Vertical

Range

30 – 70

Reactive form

Control value: 45

API reference

Inputs

PropTypeDefaultDescription
rangebooleanfalseEnable a second thumb; binds `endValue` as the upper handle.
minnumber0Minimum selectable value.
maxnumber100Maximum selectable value.
stepnumber1Increment between selectable values.
orientation"horizontal" | "vertical"'horizontal'Layout direction of the slider.
ariaLabelstring'Value'Accessible label for the thumb(s).

Two-way models

Bind with [(name)], or one-way as an input.

PropTypeDefaultDescription
valuenumber0Current value (lower thumb in range mode). Two-way bindable with `[(value)]`.
endValuenumber100Upper thumb value in range mode. Two-way bindable with `[(endValue)]`.
disabledbooleanfalseWhether the slider is disabled. Two-way bindable with `[(disabled)]`.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.