Checkbox
View on shadcn/uiA control that allows the user to toggle between checked and unchecked.
Installation
pnpm dlx shadcn@latest add https://designsystem.wfp.org/r/checkbox.jsonUsage
import { Checkbox } from "@/components/ui/checkbox";<Checkbox />API reference
This component is built on top of Radix UI Checkbox. See the Radix UI Checkbox documentation for the full API reference.