Toggle Switch Appearance None
A native checkbox skinned as a switch via appearance: none, with a sliding thumb driven by :checked and a focus-visible ring layered above the track.
A native checkbox skinned as a switch via appearance: none, with a sliding thumb driven by :checked and a focus-visible ring layered above the track.
Form / appearance: none / native checkbox
Reimplements a switch using a real input checkbox with appearance: none, redrawing the track and thumb in CSS while keeping Space/Enter toggling and focus-visible rings from the native element.
Settings row switch
A 36×20 switch tuned for settings rows. The thumb slides across a short track and the track color shifts to signal the active state.
Mobile-first switch
A 48×26 pill switch tuned for thumb-friendly mobile tap targets, with a longer track and a larger thumb that keeps visible state stable.
Emphasis state switch
A 56×32 rocker switch for moments where the choice deserves visual weight, like enabling a paid plan or toggling destructive modes.