{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/textarea-02","type":"registry:component","title":"Textarea 2","description":"A textarea with associated label for improved accessibility","registryDependencies":["label","textarea"],"files":[{"path":"src/registry/new-york/components/textarea/textarea-02.tsx","content":"import { useId } from 'react'\n\nimport { Label } from '@/registry/new-york/ui/label'\nimport { Textarea } from '@/registry/new-york/ui/textarea'\n\nconst TextareaWithLabelDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id}>Textarea with label</Label>\n      <Textarea placeholder='Type your feedback here' id={id} />\n    </div>\n  )\n}\n\nexport default TextareaWithLabelDemo\n","type":"registry:component","target":"components/shadcn-studio/textarea/textarea-02.tsx"}]}