{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "textarea-demo",
  "title": "Textarea: Auto-grow with counter",
  "description": "Grows with the text and counts toward a limit.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.cuelark.com/r/label.json",
    "https://ui.cuelark.com/r/textarea.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/examples/textarea-demo.tsx",
      "content": "import { Label } from \"@/registry/cuelark/ui/label\";\nimport { Textarea } from \"@/registry/cuelark/ui/textarea\";\n\nexport default function TextareaDemo() {\n  return (\n    <div className=\"grid w-full max-w-md gap-2\">\n      <Label htmlFor=\"bio\">Short bio</Label>\n      <Textarea id=\"bio\" autoGrow showCount maxLength={160} placeholder=\"Designer and engineer, building calm software.\" className=\"max-h-48\" />\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "textarea",
    "example"
  ],
  "type": "registry:component"
}