Checkbox
Boolean control for selecting one or more options.
Quick Preview
Receive alerts when matching homes are listed.
Usage
<Checkbox aria-label="Accept terms" />Examples
Sizes
Use size directly or through Field to keep checkboxes aligned with form density.
Props
| Prop/API | Type | Default | Description |
|---|---|---|---|
size | `"sm" | "md" | "lg"` |
className | string | - | Local layout or spacing overrides. |
| native/root props | React component props | - | Passed through to the underlying root or primitive. |
Accessibility
- Provide visible labels or accessible names for interactive controls.
- Preserve the component-provided focus, keyboard, disabled, and invalid-state behavior.
- Do not communicate state with color alone; include text, icons, or helper copy.