{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "textarea-03",
  "title": "Textarea with hint",
  "description": "A field with a short hint below, read out with the field.",
  "dependencies": [],
  "registryDependencies": [
    "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-03.tsx",
      "content": "import { useId } from 'react';\n\nimport { Label } from '@/registry/ndeko/ui/label';\nimport { Textarea } from '@/registry/ndeko/ui/textarea';\n\nexport default function Textarea03() {\n  const id = useId();\n  const hintId = `${id}-hint`;\n\n  return (\n    <div className='flex w-full max-w-xs flex-col gap-2'>\n      <Label htmlFor={id}>Bug report</Label>\n      <Textarea\n        id={id}\n        placeholder='What did you expect, and what happened instead?'\n        aria-describedby={hintId}\n      />\n      <p id={hintId} className='text-muted-foreground text-xs'>\n        Steps to reproduce help us fix it faster.\n      </p>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "components",
    "textarea"
  ],
  "type": "registry:component"
}