{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "textarea-04",
  "title": "Optional textarea",
  "description": "A field that says it is optional beside its label.",
  "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-04.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 Textarea04() {\n  const id = useId();\n\n  return (\n    <div className='flex w-full max-w-xs flex-col gap-2'>\n      <div className='flex items-center justify-between gap-1'>\n        <Label htmlFor={id}>Delivery notes</Label>\n        <span className='text-muted-foreground text-xs'>Optional</span>\n      </div>\n      <Textarea id={id} placeholder='Gate code, floor, where to leave it' />\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "components",
    "textarea"
  ],
  "type": "registry:component"
}