Checkbox Group

Shared state for a set of checkboxes, with an optional select-all parent.

Turned off by your workspace.

Installation

  1. Add the registryOnce per project
  2. Add checkbox-group

Usage

Give each Checkbox a value, and pair it with its label in a FieldItem. The group's value is an array of the checked ones. Name the group with aria-label or aria-labelledby.

Examples

Select all

A checkbox with parent toggles all the others. Pass every value to allValues and control the group's value.

Props

The tables leave out className, style and render. Parts built on Base UI take them as its styling and composition guides describe.

CheckboxGroup