Checkbox

A toggle control for boolean values. Built on Radix primitives with accessible keyboard support and animated check indicator.

Standalone

<Checkbox />

With Label

<Cluster gap="sm" align="center">
  <Checkbox id="terms" />
  <Label htmlFor="terms">Accept terms and conditions</Label>
</Cluster>

API Reference

PropTypeDefaultDescription
checkedbooleanfalseThe controlled checked state of the checkbox.
onCheckedChange(checked: boolean) => voidCallback fired when the checked state changes.
disabledbooleanfalseWhen true, prevents interaction with the checkbox.
idstringThe id attribute, useful for associating with a label.