{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-72",
  "type": "registry:component",
  "registryDependencies": [
    "https://coss.com/origin/r/textarea.json"
  ],
  "files": [
    {
      "path": "registry/default/components/comp-72.tsx",
      "content": "import { useId } from \"react\";\n\nimport { Textarea } from \"@/registry/default/ui/textarea\";\n\nexport default function Component() {\n  const id = useId();\n  return (\n    <div className=\"group relative\">\n      <label\n        className=\"group-focus-within:-translate-y-1/2 has-[+textarea:not(:placeholder-shown)]:-translate-y-1/2 absolute top-0 block origin-start translate-y-2 cursor-text px-1 text-muted-foreground/70 text-sm transition-all group-focus-within:pointer-events-none group-focus-within:cursor-default group-focus-within:font-medium group-focus-within:text-foreground group-focus-within:text-xs has-[+textarea:not(:placeholder-shown)]:pointer-events-none has-[+textarea:not(:placeholder-shown)]:cursor-default has-aria-invalid:border-destructive has-[+textarea:not(:placeholder-shown)]:font-medium has-[+textarea:not(:placeholder-shown)]:text-foreground has-[+textarea:not(:placeholder-shown)]:text-xs has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40\"\n        htmlFor={id}\n      >\n        <span className=\"inline-flex bg-background px-2\">\n          Textarea with label animation\n        </span>\n      </label>\n      <Textarea id={id} placeholder=\" \" />\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "tags": [
      "label",
      "textarea"
    ]
  }
}