Checkbox Group

Provides shared state to a series of checkboxes.

Apples

API reference

Checkbox Group is composed together with Checkbox. Import the components and place them together:

Anatomy
PropTypeDefault
defaultValue

string[]

undefined

value

string[]

undefined

onValueChange

((value: string[], event: Event) => void)

undefined

allValues

string[]

undefined

disabled

boolean

false

className

string | ((state: State) => string)

undefined

render

| ReactElement
| ((props: GenericHTMLProps, state: State) => ReactElement)

undefined

Attribute
Description
data-disabled