{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "label",
  "title": "Label",
  "description": "Label for form input.",
  "dependencies": [
    "@radix-ui/react-label"
  ],
  "files": [
    {
      "path": "registry/new-york/ui/label.tsx",
      "content": "\"use client\";\n\nimport * as LabelPrimitive from \"@radix-ui/react-label\";\nimport * as React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst Label = React.forwardRef<\n  React.ComponentRef<typeof LabelPrimitive.Root>,\n  React.ComponentProps<typeof LabelPrimitive.Root>\n>(function Label({ className, ...props }, ref) {\n  return (\n    <LabelPrimitive.Root\n      className={cn(\n        \"flex min-h-6 touch-manipulation select-none items-center gap-2 font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50 group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50\",\n        className\n      )}\n      data-slot=\"label\"\n      ref={ref}\n      {...props}\n    />\n  );\n});\n\nexport { Label };\n",
      "type": "registry:ui"
    }
  ],
  "meta": {
    "apiRef": "https://www.radix-ui.com/docs/primitives/components/label#api-reference"
  },
  "docs": "https://www.radix-ui.com/primitives/docs/components/label",
  "categories": [
    "component"
  ],
  "type": "registry:ui"
}