{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/textarea-12","type":"registry:component","title":"Textarea 12","description":"A textarea with end icon positioned on the right side","dependencies":["lucide-react"],"registryDependencies":["label","textarea"],"files":[{"path":"src/registry/new-york/components/textarea/textarea-12.tsx","content":"import { useId } from 'react'\n\nimport { HomeIcon } from 'lucide-react'\n\nimport { Textarea } from '@/registry/new-york/ui/textarea'\nimport { Label } from '@/registry/new-york/ui/label'\n\nconst TextareaEndIconDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id}>Textarea with end icon</Label>\n      <div className='relative'>\n        <div className='text-muted-foreground pointer-events-none absolute top-2.5 right-0 flex items-center justify-center pr-3 peer-disabled:opacity-50'>\n          <HomeIcon className='size-4' />\n          <span className='sr-only'>Address</span>\n        </div>\n        <Textarea id={id} placeholder='Address' className='peer pr-9' />\n      </div>\n    </div>\n  )\n}\n\nexport default TextareaEndIconDemo\n","type":"registry:component","target":"components/shadcn-studio/textarea/textarea-12.tsx"}]}