Skip to the page
Tactile UI

Knob

A rotary control for continuous or stepped values where space is square. Its knurl and pointer turn; its light does not.

On this page
  1. Anatomy
  2. Variants
  3. States
  4. Props and options
  5. Usage notes
  6. Accessibility
  7. Related parts

Anatomy

The only custom element in the kit.

Variants

  • Small
  • Large
  • Black cap on any finish
  • Stepped

States

  • Minimum
  • Middle
  • Maximum
  • Focus

Props and options

NameKindDescription
min · max · step · valueattributeThe range and the start value. Values snap to the step.
labelattributeBecomes the aria-label.
unitattributeAdded to aria-valuetext.
labelsattributeA name for each step from min, spoken instead of the number: a detented selector says “Team”, not “1”. Print the names round it too.
default-valueattributeWhere a reset goes: double-click the knob, or press Delete or Backspace while it has focus. It settles back (reduced motion. One short mark on the dial shows the default; at min the first tick already does. Home and End still go to min and max.
ticksattribute
nameattributeForm-associated: the value posts with the form under this name.
data-materialattributeWhat the body, knurl, cap and pointer are made of, apart from the page’s finish: a porcelain knob on a Black page. The ticks are printed on the plate and keep the finish. Anodised blue and green go on a whole device only.
input · changeeventinput while turning; change on release, and after each key or wheel step.
DragpointerUp or right turns it up. Shift: five times finer.
Arrows · PageUp/PageDown · Home/EndkeyboardUp and Right turn it up. The wheel steps it while it has focus.

Usage notes

Drag up or right, scroll while it is focused, or use the arrow keys. Hold Shift for fine work. Double-click, or press Delete, to settle it back to its default.

Accessibility

  • Reached with Tab; every value is reachable from the keyboard, so dragging is never required.
  • The wheel only turns it while it has focus, so scrolling the page never changes a setting by accident.

Fader

A continuous value along a line: a native range whose cap rides in a slot cut into the plate, with a printed scale.

Readout

A printed label over a value: key figures, with the unit small and the change in words.

LCD

A value that changes, on grey-green liquid crystal, with a ghost of the unlit segments behind it: clocks, battery, counters.