{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"label","title":"Label","description":"An accessible caption for a form control, associated via htmlFor and styled to dim automatically when its control is disabled.","dependencies":["cn"],"files":[{"path":"components/ui/label.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"cn\"\n\nfunction Label({ className, ...props }: React.ComponentProps<\"label\">) {\n  return (\n    <label\n      data-slot=\"label\"\n      className={cn(\n        \"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50 peer-data-disabled:cursor-not-allowed peer-data-disabled:opacity-50\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport { Label }\n","type":"registry:ui"}],"cssVars":{"theme":{"text-sm--letter-spacing":"-0.005em"}},"categories":["forms"],"type":"registry:ui"}