Knob

A rotary dial input (role=slider).

40

Sizes

30
55
80

Custom range

6

API reference

Inputs

PropTypeDefaultDescription
minnumber0Minimum value at the start of the dial's sweep.
maxnumber100Maximum value at the end of the dial's sweep.
stepnumber1Increment applied per arrow key, scroll or drag snap.
size"default" | "lg" | "sm"'default'Size preset controlling the knob's diameter and text size.
labelstring'Value'Accessible label announced for the slider.

Two-way models

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

PropTypeDefaultDescription
valuenumber50Current value. Two-way bindable with `[(value)]`.
disabledbooleanfalseWhether the knob is disabled. Two-way bindable with `[(disabled)]`.

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