Toggle

One setting, on or off. A round knob in a pill track with a thin black border; on fills the track black and moves the knob right.

On black

Parts

PartMarkupLook
Togglebutton.sys-toggle with role="switch" and aria-checked13px caps label, 44px tall hit area
Track.sys-toggle__track, first inside the button40 × 22px pill, thin black border, white; black when on
KnobDrawn by the track14px black circle; white and 18px to the right when on

Stipulations