UI Library

Checkbox

Default

checked: true, lastChange: —


Props

PropTypeDefaultNotes
checkedbooleanBindable checked state.
labelstringVisible label; also the accessible name.
ariaLabelstringAccessible name when no visible label.
namestringNative input name.
disabledbooleanfalseDisables the input.
indeterminatebooleanfalseMixed state glyph.
stopPropagationbooleantrueStops the click bubbling to clickable rows.
size'sm' | 'md''md'Box and label size.
labelClassstringExtra classes for the label text.
wrapperClassstring''Extra classes for the wrapping label.
boxClassstring''Extra classes for the box span.
inputRefHTMLInputElement | nullnullBindable native input element.
onChange(checked: boolean) => voidCalled with the next checked value.