Skip to Content

Checkbox

A checkbox group allows a user to select multiple items from a list of options.

There is not much change in this component as compared to react-aria-components's export. You can refer to the official documentation for more details.

Usage

Select cities

Disabled

Select cities

Invalid

Select citiesSelect the cities you want to visit

Slots

  • base: Checkbox group root wrapper, it wraps the label and the wrapper.
  • label: Checkbox group label, it is placed before the wrapper.
  • description: The description of the checkbox group.
  • error: FieldError slots
    • icon: The error icon.
    • text: The error text.

Other examples

With checkbox input