Checkbox Group

Storybook

Checkbox groups are convenient components for a grouping of related Checkboxes.

Preview

Checkbox Groups are typically paired with a legend which identifies the group. If no legend is provided then it is expected that an aria-label will be given in order to provide an invisible label to screen readers. Each Checkbox Group should contain one or more Checkboxes which users can make selections from.

Variants

Default

With Selected Values

Disabled

With Validation States

With Validation Messages Hidden

Vue API

Slots

Name
Description
default

slot for Input Group Components

legend

slot for Input Group Legend

Props

Name
Description
Default
name
required

The name of the input group

Type: string
dataQaGroup

A data qa tag for the radio group

Type: string
'checkbox-group'
dataQaGroupLegend

A data qa tag for the radio group legend

Type: string
'checkbox-group-legend'
dataQaGroupMessages

A data qa tag for the radio group messages

Type: string
'checkbox-group-messages'
disabled

Disables the input group

Type: boolean
Values: truefalse
false
id

The id of the input group

Type: string
function() { return getUniqueString(); }
legend

The legend of the input group

Type: string
''
legendChildProps

A set of props that are passed into the legend element

Type: object
{}
legendClass

Used to customize the legend element

Type: string|array|object
''
messages

Validation messages

Type: array
[]
messagesChildProps

A set of props that are passed into the messages container

Type: object
{}
messagesClass

Used to customize the messages container

Type: string|array|object
''
modelValue

Not supported by this component, please use selectedValues

null
showMessages

Show validation messages

Type: boolean
Values: truefalse
true
v-model

A provided list of selected values(s) for the checkbox group

Type: array
[]
value

The value of the input group

Type: string|number|boolean|object
null

Events

Name
Description
input

Native input event

Type: Array
update:selectedValues

Selected values for the checkbox group

Type: Array
Checkbox Group documentation last updated Thursday, June 11, 2026