Forms
Checkbox
A labeled checkbox that toggles on and off.
ReactVueWeb Components
View in Storybook Playground
Examples
<Checkbox label="Accept terms" checked={ok} onChange={…} /> Props
| Name | Type | Default | Description |
|---|---|---|---|
label | ReactNode | — | Inline label shown next to the checkbox. |
Accessibility
- Body/background contrast is ≥ 7:1 (AAA) in both light and dark.
- Every interaction works with the keyboard alone.
- The focus ring is always visible.
- Respects prefers-reduced-motion and stops excessive motion.
Every component is designed to meet WCAG 2.1 AAA.