Skip to Content
✨ QuickCode UI keeps growing! More components, more features, and more ways to make your projects shine. Stay tuned & maybe… hire me or sponsor me 😉 
DocumentationCheckboxGroup

CheckboxGroup

Groups multiple related checkboxes with shared state management and semantic form structure.

Install Dependencies

npx
quickcode-ui add CheckboxGroup

Basic Usage

Basic Usage

Notifications

With Description

With Description

User Permissions

Select the permissions you want to grant to this user

CheckboxGroup Props

PropTypeDefaultDescription
valuestring[]undefinedControlled array of selected checkbox values.
onValueChange(value: string[]) => voidundefinedCallback when selection changes.
defaultValuestring[][]Initial selected values for uncontrolled usage.
disabledbooleanfalseDisables all checkboxes in the group.
labelstringundefinedLabel for the checkbox group.
descriptionstringundefinedHelper text displayed below the label.
errorstringundefinedError message displayed below the group.
classNamestringundefinedAdditional CSS classes for the fieldset wrapper.
childrenReact.ReactNodeCheckboxGroup.Item components.

CheckboxGroup.Item Props

PropTypeDefaultDescription
valuestringUnique identifier for this checkbox.
labelstringundefinedLabel text for the checkbox.
size"sm" | "md" | "lg""md"Size of the checkbox.
disabledbooleanfalseDisables this specific checkbox.
classNamestringundefinedAdditional CSS classes for the checkbox wrapper.
Last updated on