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/APITypeDefaultDescription
size`"sm""md""lg"`
classNamestring-Local layout or spacing overrides.
native/root propsReact 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.

On this page