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
| Prop | Type | Default | Description |
|---|---|---|---|
range | boolean | false | Enable a second thumb; binds `endValue` as the upper handle. |
min | number | 0 | Minimum selectable value. |
max | number | 100 | Maximum selectable value. |
step | number | 1 | Increment between selectable values. |
orientation | "horizontal" | "vertical" | 'horizontal' | Layout direction of the slider. |
ariaLabel | string | 'Value' | Accessible label for the thumb(s). |
Two-way models
Bind with [(name)], or one-way as an input.
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | 0 | Current value (lower thumb in range mode). Two-way bindable with `[(value)]`. |
endValue | number | 100 | Upper thumb value in range mode. Two-way bindable with `[(endValue)]`. |
disabled | boolean | false | Whether 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.