Checkbox

Checkboxes for choosing zero, one or more items from a range of options

Contents

Inputs
ariaLabel ?: string
color ?: CheckboxColor = CheckboxColor.SECONDARY
control ?: FormControl<boolean>

Set either this or `stateControl`

disabled ?: boolean = false
fontColor ?: FontColor = FontColor.INHERIT
forListItem ?: boolean = false
id ?: string

id for the checkbox element

label ?: string = ''
size ?: CheckboxSize = CheckboxSize.SMALL
stateControl ?: FormControl<CheckboxState>

Can also show the box as excluded. Only the host sets `EXCLUDED`; a click on an excluded box makes it `UNCHECKED`.