Reduce motion everywhereHaptic feedback
- A button with role="switch" and aria-checked, labelled by its visible label.
- Space and Enter toggle it; visible focus ring.
- prefers-reduced-motion: reduce (or data-rad-fx-motion="reduce" on an ancestor) moves the knob without the spring.
| Prop | Type | Default | Description |
|---|---|---|---|
label | ReactNode | — | Visible label and accessible name. |
checked | boolean | — | Controlled state. |
defaultChecked | boolean | false | Initial state. |
onCheckedChange | (checked: boolean) => void | — | Called on toggle. |