A compact checkbox with checked, indeterminate, and disabled states.
Checkbox defines how EnterUI handles a compact checkbox with checked, indeterminate, and disabled states, including default structure, accessible states, and token-driven styling.
Checked, indeterminate, and disabled states are intentionally compact.
<div className="docs-preview-stack">
<label className="docs-preview-option"><Checkbox defaultChecked /> Publish docs</label>
<label className="docs-preview-option"><Checkbox indeterminate /> Review mixed state</label>
<label className="docs-preview-option"><Checkbox disabled /> Locked option</label>
</div>import { Checkbox } from "@froggdesign/enter-ui-react";Checkbox renders a visually hidden native input type="checkbox". The indeterminate prop sets the DOM indeterminate state and aria-checked="mixed".
indeterminate enables mixed state.checked, defaultChecked, disabled, and name.Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.