Checkbox
A toggleable checkbox, built on the Base UI `Checkbox` primitive.
A toggleable checkbox, built on the Base UI Checkbox primitive.
tsx
import { Checkbox } from "@celestia-project/ui/primitive/checkbox"import { Label } from "@celestia-project/ui/primitive/label"
<div className="flex items-center gap-2"> <Checkbox id="terms" /> <Label htmlFor="terms">Accept terms and conditions</Label></div>