children | ReactNode | - | The checkboxes. |
| The checkboxes. |
label | ReactNode | - | Names the group for screen readers and is shown above it. |
| Names the group for screen readers and is shown above it. |
parentLabel | ReactNode | - | |
|
allValues | string[] | - | |
|
value | string[] | - | |
|
defaultValue | string[] | - | The checked values on first render, uncontrolled. |
| The checked values on first render, uncontrolled. |
onValueChange | (value: string[]) => void | - | Called with the checked values whenever they change. |
| Called with the checked values whenever they change. |
name | string | - | Form field name for the parent checkbox. |
| Form field name for the parent checkbox. |
countLabel | string | - | |
|
shape | none | rounded | rounded | |
|
disabled | boolean | false | Ignores interaction on every checkbox in the group. |
| Ignores interaction on every checkbox in the group. |
className | string | - | Merged with the group's own classes, so a utility you pass wins. |
| Merged with the group's own classes, so a utility you pass wins. |