{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "textarea",
  "title": "Textarea",
  "description": "Multi-line text control with the same states as Input.",
  "registryDependencies": [
    "@corsair-ui/utils"
  ],
  "files": [
    {
      "path": "registry/default/ui/textarea.tsx",
      "content": "import type { ComponentProps } from \"react\";\n\nimport { cn } from \"@/registry/default/lib/utils\";\n\n/** Multi-line text control with the same states as Input. */\nfunction Textarea({ className, ...props }: ComponentProps<\"textarea\">) {\n  return (\n    <textarea\n      data-slot=\"textarea\"\n      className={cn(\n        \"border-input bg-field flex min-h-16 w-full resize-y rounded-md border px-3 py-2 text-base md:text-sm\",\n        \"transition-[color,border-color,box-shadow] outline-none motion-reduce:transition-none\",\n        \"placeholder:text-muted-foreground\",\n        \"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]\",\n        \"aria-[invalid=true]:border-destructive aria-[invalid=true]:ring-destructive/20\",\n        \"disabled:cursor-not-allowed disabled:opacity-50\",\n        className\n      )}\n      {...props}\n    />\n  );\n}\n\nexport { Textarea };\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}