{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "label",
  "type": "registry:ui",
  "description": "Associate descriptive text with form controls.",
  "dependencies": [
    "class-variance-authority"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "components/ui/label.tsx",
      "content": "\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport { cva, type VariantProps } from \"class-variance-authority\"\r\nimport { cn } from \"@/lib/utils\"\r\n\r\nconst labelVariants = cva(\r\n    \"text-sm font-bold leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-black\"\r\n)\r\n\r\ntype LabelProps = React.LabelHTMLAttributes<HTMLLabelElement> &\r\n    VariantProps<typeof labelVariants>\r\n\r\nconst Label = React.forwardRef<HTMLLabelElement, LabelProps>(\r\n    ({ className, ...props }, ref) => (\r\n        <label\r\n            ref={ref}\r\n            className={cn(labelVariants(), className)}\r\n            {...props}\r\n        />\r\n    )\r\n)\r\nLabel.displayName = \"Label\"\r\n\r\nexport { Label }\r\n",
      "type": "registry:ui"
    }
  ]
}