{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "label",
  "title": "Label",
  "description": "Native Astro labels that name and focus form controls.",
  "dependencies": [
    "cn"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "packages/ui/src/components/ui/label/index.ts",
      "content": "export { default as Label } from \"./label.astro\"\n",
      "type": "registry:file",
      "target": "~/src/components/ui/label/index.ts"
    },
    {
      "path": "packages/ui/src/components/ui/label/label.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"cn\"\n\ntype Props = HTMLAttributes<\"label\">\n\nconst {\n  class: className,\n  \"data-slot\": dataSlot = \"label\",\n  ...props\n} = Astro.props\n---\n\n<label data-slot={dataSlot} class={cn(\"font-sans text-foreground inline-flex items-center gap-2 text-base/4.5 font-medium sm:text-sm/4\", className)} {...props}>\n  <slot />\n</label>\n",
      "type": "registry:file",
      "target": "~/src/components/ui/label/label.astro"
    }
  ],
  "meta": {
    "framework": "astro",
    "source": "@gnostic/ui",
    "testedDependencies": {
      "cn": "0.5.2"
    }
  },
  "docs": "https://ui.gnosticai.com/components/label",
  "categories": [
    "ui"
  ],
  "type": "registry:ui"
}
