{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "checkbox", "type": "registry:ui", "dependencies": ["@ark-ui/react", "lucide-react"], "files": [ { "path": "./src/components/ui/checkbox.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { Checkbox as CheckboxPrimitive } from \"@ark-ui/react/checkbox\"\nimport { CheckIcon, MinusIcon } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Checkbox = CheckboxPrimitive.Root\n\nconst CheckboxContext = CheckboxPrimitive.Context\n\nconst CheckboxControl = React.forwardRef<\n React.ElementRef,\n CheckboxPrimitive.ControlProps\n>(({ className, children, ...props }, ref) => (\n <>\n \n \n \n \n \n \n \n \n \n \n))\nCheckboxControl.displayName = \"CheckboxControl\"\n\nconst CheckboxGroup = CheckboxPrimitive.Group\n\nconst CheckboxLabel = React.forwardRef<\n React.ElementRef,\n CheckboxPrimitive.LabelProps\n>(({ className, ...props }, ref) => (\n \n))\nCheckboxLabel.displayName = \"CheckboxLabel\"\n\nexport {\n Checkbox,\n CheckboxContext,\n CheckboxControl,\n CheckboxGroup,\n CheckboxLabel,\n}\n", "type": "registry:ui" } ] }