Checkbox card

Checkbox input with built-in layouting subcomponents

Checkbox Visible (Default)

This is a checkbox card with the checkbox shown.

The checkmark is visible on the left of the card.

Checkbox Hidden

This is a checkbox card with the checkbox hidden.

The card is still selectable, but the checkmark is not rendered. Useful when the card itself communicates selection.

Inputs
control : FormControl<boolean>
ariaLabel ?: string
backgroundColor ?: BackgroundColor
border ?: CardBorder = 'none'
checkboxAlignment ?: CheckboxAlignment = CheckboxAlignment.CENTER
disabled ?: boolean = false
hideBorderColor ?: boolean = false
hideCheckbox ?: boolean = false
hoverColor ?: HoverColor = HoverColor.MID
label ?: string = ''
level ?: CardLevel = 'primary'
padding ?: CheckboxCardPadding = CheckboxCardPadding.MID
selectedColor ?: CheckboxCardSelectedColor = CheckboxCardSelectedColor.SECONDARY