Switch
An accessible toggle switch backed by a hidden checkbox, with animated thumb and keyboard support.
Examples
When to use Switch
Use when
You need the documented Switch interaction or presentation in a product workflow.
Avoid when
A native HTML element already provides the Switch behavior you need.
Accessibility
Keep the Switch labeled and use its documented keyboard interaction. The component preserves visible focus and communicates state without relying on color alone.