Checkbox
A control that allows the user to toggle between checked and not checked.
import { Checkbox } from "@/registry/ui/checkbox"
export default function CheckboxDemo() {Installation
pnpmnpmyarnbun
Usage
import { Checkbox } from "@/components/ui/checkbox"<Checkbox />Examples
With Label
import { Checkbox } from "@/registry/ui/checkbox"
import { Label } from "@/registry/ui/label"
Disabled
import { Checkbox } from "@/registry/ui/checkbox"
import { Label } from "@/registry/ui/label"
With Text
import { Checkbox } from "@/registry/ui/checkbox"
import { Label } from "@/registry/ui/label"