Components

Checkbox

A styled checkbox with label, description, and indeterminate state support. Uses native input under the hood.

Basic usage

With description

Add a description for more context.

Receive emails about new features and updates.

Indeterminate

Use indeterminate for a "select all" pattern where only some children are checked.

Disabled

Props

PropTypeDefaultDescription
labelstringText label rendered beside the checkbox.
descriptionstringSecondary helper text below the label.
indeterminatebooleanfalseShows a dash instead of a checkmark (useful for "select all").
...restInputHTMLAttributesAll native checkbox props (checked, onChange, disabled, etc.).

Accessibility

  • Uses native <input type="checkbox"> for full keyboard and screen reader support.
  • Label is clickable and associated via htmlFor.
  • Indeterminate state is set via the DOM property for correct AT announcement.