Knob also Rotary, Dial, Potentiometer

A rotary control (a mixer's gain or pan, an effect's amount): drag up or down, the wheel or the arrow keys turn it, a double click puts it back; a log scale for frequencies, a bipolar arc for pan. Form-associated.

Source on GitHub

A channel strip: an equalizer band with a log frequency, a gain and a pan that grows from the middle

Input

EQ, mid band

Send

Drag up or down (Shift: finer), scroll, or focus and use the arrows; a double click puts a knob back.

Sizes, and in a form
Reset volume=70
Code

API

For AI agents: this API as Markdown, or every component in llms-full.txt.

<ray-knob> · RayKnob

Drag up or down to turn it (the whole sweep is 200px; hold Shift for ten times finer), or use the wheel. Keys: arrows step it (Shift: ten steps), Page Up/Down a tenth of the sweep, Home/End the ends. A double click returns to default-value. The dial is role=slider with the value's text (format, or the value and unit). Look: --ray-knob-size, --ray-knob-track, --ray-knob-arc, --ray-knob-body, --ray-knob-pointer, and the dial, track, arc, body and pointer parts.

PropertyAttributeTypeDefaultDescription
valuevaluenumberCurrent value. The value attribute is the initial one (restored on reset).
minminnumber0Minimum.
maxmaxnumber100Maximum.
stepstepnumber1Step; 0: continuous.
defaultValuedefault-valuenumberWhat a double click returns to. Default: the value attribute; without one, min (the middle when bipolar).
scalescale reflectslinear | loglinearlog: equal turns for equal ratios (20 Hz to 20 kHz); needs min above 0. The arrow keys then move a hundredth of the sweep.
bipolarbipolar reflectsbooleanThe arc grows from 0 (from the middle when the range does not span 0): pan, a balance, a detune.
namenamestringForm field name.
labellabelstringVisible label, above the dial (it names the slider).
descriptiondescriptionstringHelp text.
errorerrorstringError text.
disableddisabledbooleanNot interactive nor submitted.
colorcolor reflectsstringThe arc's color.
sizesize reflectsxs | sm | md | lg | xlsmThe dial's size (28 to 72px; --ray-knob-size for any other).
showValueshow-value reflectsbooleanShows the value under the dial.
unitunitstringAppended to the value's text (" dB", " Hz", "%").
format—functionThe value's text, shown and spoken: (v) => v >= 1000 ? `${v / 1000} kHz` : `${v} Hz`.
EventDescription
inputWhile it turns.
changeWhen it settles: the end of a drag, a key, a pause of the wheel, a double click.
PartDescription
dialThe dial (role=slider).
trackThe ring's track.
arcThe arc of the value.
bodyThe knob's body.
pointerThe line that shows where it points.
valueThe value under the dial (show-value).