UI Library

Prop Type Default Value Notes
ariaLabelstring?—
Accessible name when no visible label.
checkedboolean—
Bindable checked state; drives the live demo (the seed reads it from scope); the eye resets to the default state.
disabledbooleanfalse
Disables the input.
indeterminatebooleanfalse
Mixed state glyph.
labelstring?—
Visible label; also the accessible name.
namestring?—
Native input name.
size'xs' | 'sm' | 'md' | 'lg' | 'xl' | number'md'
Box and label size; numbers settle on the nearest tier.
stopPropagationbooleantrue
Stops the click bubbling to clickable rows.
wrapperClassstring?''
Extra classes for the wrapping label.
inputRefHTMLInputElement | nullnull—Bindable native input element.
onChange(checked: boolean) => void——Called with the next checked value.