MiHCM
primitives/@mihcm/ui·v0.21.0·stable

Checkbox

Controlled checkbox with three states — true, false, "indeterminate". aria-checked="mixed" for indeterminate.

Props

The full prop API for Checkbox. Same surface in web and React Native — bundlers pick the right variant via the react-native export condition.

PropTypeDefaultDescriptionSince
checkedboolean | 'indeterminate'Controlled state. Required.0.3.0
onCheckedChange(checked: boolean | 'indeterminate') => voidCalled on click. Required.0.3.0
size'sm' | 'md' | 'lg''md'Height + width. `md` is 20 px.0.3.0
disabledbooleanfalseStandard disabled state.0.3.0

Import

import { Checkbox } from '@mihcm/ui/Checkbox';