Skip to main content
  1. Docs
  2. Components
  3. Forms

Switch

A setting, on or off, applied at once. A setting that waits for Save is a Checkbox.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<span role="switch">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

0.4.0

  • An invalid switch keeps its danger edge under the pointer and when on.
  • The thumb of a switch that's on is white in both schemes, icon.on-brand; it was near-black in dark.

02

0.0.2

  • Switch: a 32×18 track with a square thumb that moves to the end side, in either text direction.
  • With no visible label, aria-label is required by its type.

Every change to @qeetrix/react

Next — FormsSlider