edbnedbn/ui
ComponentsMapsPDF
GitHub stars
Explorer
Get Started
Components

Checkbox Group

Grouped checkboxes with shared label and accessible parent state.

Componentsdocsbase-ui/checkbox-group

Installation

npx shadcn@latest add https://ui.edbn.me/api/analytics/registry/checkbox-group.json

Manual

API Reference

Root

Provides shared state to a series of checkboxes. Renders a div element.

defaultValuestring[]

Initial selected values

valuestring[]

Controlled selected values

onValueChangefunction

Called when values change

allValuesstring[]

All possible values (for parent checkbox)

disabledboolean
=false

Disable entire group

classNamestring | function

CSS class name

renderReactElement | function

Custom render function

Root data attributes
AttributeDescription
data-disabledPresent when group is disabled