← All components Form primitives
Checkbox
Tri-state (checked / unchecked / indeterminate) opt-in. aria-checked supports "mixed".
Inspired by Apple HIG Toggles, Radix Checkbox, WAI-ARIA APG.
Preview
What it looks like.
Live — the real component, scoped to this frame.
Usage
Drop it into your app.
import { Checkbox } from '@locara/components'
<Checkbox
checked={value} // boolean | "indeterminate"
onCheckedChange={setValue}
aria-label="Telemetry enabled"
/>
Or copy the source into your repo:
locara add checkbox