{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "textarea-12",
  "title": "Textarea with full-width button",
  "description": "A field with a send button as wide as the field.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/button.json",
    "https://ui.ndekocode.dev/r/label.json",
    "https://ui.ndekocode.dev/r/textarea.json",
    "https://ui.ndekocode.dev/r/theme.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/components/textarea/textarea-12.tsx",
      "content": "import { useId } from 'react';\n\nimport { Button } from '@/registry/ndeko/ui/button';\nimport { Label } from '@/registry/ndeko/ui/label';\nimport { Textarea } from '@/registry/ndeko/ui/textarea';\n\nexport default function Textarea12() {\n  const id = useId();\n\n  return (\n    <div className='flex w-full max-w-xs flex-col gap-2'>\n      <Label htmlFor={id}>Comment</Label>\n      <Textarea id={id} placeholder='Leave a comment' />\n      <Button variant='outline' className='w-full'>\n        Send comment\n      </Button>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "components",
    "textarea"
  ],
  "type": "registry:component"
}