{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "checkbox",
  "type": "registry:ui",
  "description": "Let users select or deselect individual options.",
  "dependencies": [
    "@base-ui/react",
    "lucide-react"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "components/ui/checkbox.tsx",
      "content": "\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport { Checkbox as BaseCheckbox } from \"@base-ui/react/checkbox\"\r\nimport { Check } from \"lucide-react\"\r\nimport { cn } from \"@/lib/utils\"\r\n\r\ntype CheckboxProps = React.ComponentPropsWithoutRef<typeof BaseCheckbox.Root>\r\n\r\nconst Checkbox = React.forwardRef<\r\n    React.ComponentRef<typeof BaseCheckbox.Root>,\r\n    CheckboxProps\r\n>(({ className, disabled, ...props }, ref) => (\r\n    <BaseCheckbox.Root\r\n        ref={ref}\r\n        disabled={disabled}\r\n        className={cn(\r\n            \"peer h-5 w-5 shrink-0 rounded-base border-2 border-black focus-brutal disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 data-checked:bg-main data-checked:text-black\",\r\n            className\r\n        )}\r\n        {...props}\r\n    >\r\n        <BaseCheckbox.Indicator\r\n            className={cn(\"flex items-center justify-center text-current data-unchecked:hidden\", disabled && \"opacity-50\")}\r\n        >\r\n            <Check className=\"h-3.5 w-3.5\" strokeWidth={3} />\r\n        </BaseCheckbox.Indicator>\r\n    </BaseCheckbox.Root>\r\n))\r\nCheckbox.displayName = \"Checkbox\"\r\n\r\nexport { Checkbox }\r\n",
      "type": "registry:ui"
    }
  ]
}