Checkbox Group

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

import { DtCheckboxGroup } from '@dialpad/dialtone-vue';

Slots

Name
Type
default

slot for Input Group Components

legend

slot for Input Group Legend

Props

Name
Default
Type
name required
string

The name of the input group

dataQaGroup
'checkbox-group'
string

A data qa tag for the radio group

dataQaGroupLegend
'checkbox-group-legend'
string

A data qa tag for the radio group legend

dataQaGroupMessages
'checkbox-group-messages'
string

A data qa tag for the radio group messages

disabled
false
"true" | "false"

Disables the input group

id
generated unique ID
string

The id of the input group

legend
''
string

The legend of the input group

legendChildProps
{}
object

A set of props that are passed into the legend element

legendClass
''
string|array|object

Used to customize the legend element

messages
[]
array

Validation messages

messagesChildProps
{}
object

A set of props that are passed into the messages container

messagesClass
''
string|array|object

Used to customize the messages container

modelValue
[]
array

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

showMessages
true
"true" | "false"

Show validation messages

value
null
string|number|boolean|object

The value of the input group

Events

Name
Type
update:modelValue
Array

Selected values for the checkbox group

Checkbox Group documentation last updated Thursday, June 18, 2026