{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "label",
  "type": "registry:ui",
  "title": "Label",
  "description": "Accessible form label using Radix UI Label primitive.",
  "dependencies": [
    "@radix-ui/react-label"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "ui/label/label.tsx",
      "type": "registry:ui",
      "content": "import * as React from 'react'\nimport * as LabelPrimitive from '@radix-ui/react-label'\nimport { cn } from '@/lib/utils'\n\nconst Label = React.forwardRef<\n  React.ElementRef<typeof LabelPrimitive.Root>,\n  React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>\n>(({ className, ...props }, ref) => (\n  <LabelPrimitive.Root\n    ref={ref}\n    className={cn(\n      'text-[0.7rem] font-mono font-medium uppercase tracking-widest',\n      'text-[var(--text-secondary)]',\n      'peer-disabled:opacity-40 peer-disabled:cursor-not-allowed',\n      'select-none',\n      className\n    )}\n    {...props}\n  />\n))\nLabel.displayName = LabelPrimitive.Root.displayName\n\nexport { Label }\n"
    }
  ]
}