The Knob component renders a circular dial that lets users select a numeric value by dragging, displaying the current value as an SVG arc overlaid on a background track. Nettalco Theme provides tokens for the filled value arc’s color, the background range arc, the center text label color, the transition animation, and the keyboard focus ring.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Nettalco/nettalco-theme/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Design Tokens
Root
| Token | Value | Description |
|---|---|---|
transitionDuration | {transition.duration} | Arc animation transition duration |
focusRing.width | {focus.ring.width} | Focus ring width |
focusRing.style | {focus.ring.style} | Focus ring style |
focusRing.color | {focus.ring.color} | Focus ring color |
focusRing.offset | {focus.ring.offset} | Focus ring offset |
focusRing.shadow | {focus.ring.shadow} | Focus ring shadow |
Value (filled arc)
| Token | Value | Description |
|---|---|---|
value.background | {primary.color} | Color of the filled progress arc |
Range (background arc)
| Token | Value | Description |
|---|---|---|
range.background | {content.border.color} | Color of the unfilled track arc |
Text
| Token | Value | Description |
|---|---|---|
text.color | {text.muted.color} | Color of the center value label |
Theme Notes
Knob uses only four token sections (root, value, range, text) with no color scheme overrides. All colors resolve to semantic tokens that adapt automatically to light and dark mode through the global
content and primary token system.The center text color is
{text.muted.color} rather than the full {text.color}. This softens the numeric readout so the arc itself remains the primary visual element, with the number serving as a secondary reference.