Checkbox

Small wooden toggle checkbox.

Props

PropTypeDefaultDescription
checkedbooleanControlled checked state.
defaultCheckedbooleanfalseInitial checked state for uncontrolled usage.
onChange(checked: boolean) => voidCallback fired when the checkbox is toggled.
labelstringText label displayed next to the checkbox.
disabledbooleanfalseDisables the checkbox and reduces opacity.
classNamestringAdditional CSS classes to apply to the wrapper label.