Forms
Checkbox
A yes/no choice, alone or in a group that shares one value.
src/components/ui/checkbox.tsxBehavior from @ui-sdk/react/checkbox
With a label and description
Group
Import
tsx
import { Checkbox, CheckboxGroup } from "@/components/ui/checkbox";Guidelines
- For settings that apply right away, use Switch.
- A
select allcheckbox uses"indeterminate"when some are selected.