Loading...
Usage
import { Checkbox, Label } from "@aqqo/aqqo-ui";<div className="space-x-2">
<Checkbox id="Checkbox" />
<Label htmlFor="Checkbox">Accept terms and conditions</Label>
</div>Examples
Indeterminate
Loading...
<div className="space-x-2">
<Checkbox id="Checkbox" checked="indeterminate" />
<Label htmlFor="Checkbox">Accept terms and conditions</Label>
</div>Disabled
Loading...
<div className="space-x-2">
<Checkbox id="Checkbox" disabled />
<Label htmlFor="Checkbox">Accept terms and conditions</Label>
</div>Props
Checkbox wraps Radix Checkbox. Custom props: className. Inherits Radix Checkbox props: checked, onCheckedChange, disabled, required, name, value, id, etc.