label | string | - | The name above the knob, which also names it to screen readers. |
| The name above the knob, which also names it to screen readers. |
defaultValue | number | - | |
|
value | number | - | |
|
onValueChange | (value: number) => void | - | Called with the new value. |
| Called with the new value. |
min | number | 0 | The lowest value. |
| The lowest value. |
max | number | 100 | The highest value. |
| The highest value. |
step | number | 1 | The amount one step moves. |
| The amount one step moves. |
centered | boolean | false | Fills the arc from the top, for a value with a middle, such as balance. |
| Fills the arc from the top, for a value with a middle, such as balance. |
ticks | boolean | false | Draws a tick at each step, for a knob with a few settings. |
| Draws a tick at each step, for a knob with a few settings. |
unit | string | - | Text after the value, such as %. |
Text after the value, such as %. |
formatValue | (value: number) => string | - | Writes the value under the knob, and reads it to screen readers. |
| Writes the value under the knob, and reads it to screen readers. |
name | string | - | Submits the value with a form under this name. |
| Submits the value with a form under this name. |
size | sm | md | lg | md | The dial's size. |
| The dial's size. |
disabled | boolean | false | Blocks turning and dims the knob. |
| Blocks turning and dims the knob. |
animated | boolean | true | |
|
className | string | - | |
|
focus | boolean | string | true | |
|