Switch
An on/off control.
Usage
Import
import { Switch } from "@qeetrix/ui";It can also be imported on its own from @qeetrix/ui/components/switch.
States
hover · focus-visible · disabled · read-only · invalid · checked
Support
| Feature | Status |
|---|---|
| Right-to-left | Supported |
| Dark mode | Supported |
| Density | Not declared |
| Server rendering | Client component |
| Reduced motion | Supported |
Accessibility
Follows the WAI-ARIA switch pattern. Not yet audited.
Keyboard
Space TabTests
Covered by unit, accessibility (axe), interaction and visual tests.