Checkbox

Small wooden toggle checkbox.

Props

PropTypeDefaultDescription
checkedboolean—Controlled checked state.
defaultCheckedbooleanfalseInitial checked state for uncontrolled usage.
onChange(checked: boolean) => void—Callback fired when the checkbox is toggled.
labelstring—Text label displayed next to the checkbox.
disabledbooleanfalseDisables the checkbox and reduces opacity.
classNamestring—Additional CSS classes to apply to the wrapper label.