Controlled unchecked
Controlled checked
Default checked
With description
Disabled unchecked
Disabled checked
Animation variants
animationVariant — click each control to compare press feedback.
API
| Prop | Required | Type | Default | Description |
|---|---|---|---|---|
| theme | Optional | SiteTheme | atelier | Visual theme. |
| mode | Optional | "light" | "dark" | light | Color mode. |
| label | Optional | ReactNode | — | Visible label text. |
| description | Optional | string | — | Optional helper under the label. |
| checked / onChange | Optional | native checkbox | — | Controlled or uncontrolled. |
| disabled | Optional | boolean | — | Native disabled state. |
| animationVariant | Optional | PressAnimationVariant | default | Press animation — default, none, ripple, scale, sink, lift, pulse, or glow. |