{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "label",
  "title": "Label",
  "description": "Accessible form label built on Base UI Label.",
  "files": [
    {
      "path": "registry/rapid/ui/label/label.tsx",
      "content": "'use client'\n\nimport type * as React from 'react'\nimport { cn } from '@/lib/utils'\n\nfunction Label({ className, ...props }: React.ComponentProps<'label'>) {\n\treturn (\n\t\t// biome-ignore lint/a11y/noLabelWithoutControl: the control is associated by the consumer via htmlFor or nesting\n\t\t<label\n\t\t\tdata-slot=\"label\"\n\t\t\tclassName={cn(\n\t\t\t\t'flex items-center gap-2 text-sm leading-none font-medium text-foreground select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t)\n}\n\nexport { Label }\n",
      "type": "registry:ui",
      "target": "components/ui/label.tsx"
    }
  ],
  "type": "registry:ui"
}