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