Checkbox
Turns an option on or off as part of a form.
API Reference
The Checkbox component wraps the Radix checkbox. With a label it renders a real label; a description is linked with aria-describedby.
| Prop | Type | Default |
|---|---|---|
checked | boolean"indeterminate" | — |
defaultChecked | boolean | false |
onCheckedChange | (checked) => void | — |
label | ReactNode | — |
description | ReactNode | — |
placement | "left""right" | "left" |
disabled | boolean | false |