{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/textarea-05","type":"registry:component","title":"Textarea 5","description":"An invalid textarea with error styling and validation message","registryDependencies":["label","textarea"],"files":[{"path":"src/registry/new-york/components/textarea/textarea-05.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 TextareaInvalidDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id}>Invalid Textarea</Label>\n      <Textarea aria-invalid placeholder='Type your feedback here' id={id} />\n      <p className='text-destructive text-xs'>Your feedback is useful for us.</p>\n    </div>\n  )\n}\n\nexport default TextareaInvalidDemo\n","type":"registry:component","target":"components/shadcn-studio/textarea/textarea-05.tsx"}]}