Skip to content
PixeloreUI
Form

Switch

An on/off toggle. Flips a setting that applies immediately — for choices that need an explicit Save action, use a Checkbox instead.

Default

Disabled

Accessibility notes

  • Built on Radix Switch — exposes role=“switch” with aria-checkedinstead of the generic checkbox role, so screen readers announce “on/off” rather than “checked/unchecked”.
  • Spacetoggles. The thumb's translate animation honours prefers-reduced-motion via Tailwind's motion-reduce variant.