{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/input-32","type":"registry:component","title":"Input 32","description":"Input field with a right-aligned icon button, ideal for actions like downloading or submitting email addresses","dependencies":["lucide-react"],"registryDependencies":["button","button-group","input","label"],"files":[{"path":"src/registry/new-york/components/input/input-32.tsx","content":"import { useId } from 'react'\n\nimport { DownloadIcon } from 'lucide-react'\n\nimport { Button } from '@/registry/new-york/ui/button'\nimport { ButtonGroup } from '@/registry/new-york/ui/button-group'\nimport { Input } from '@/registry/new-york/ui/input'\nimport { Label } from '@/registry/new-york/ui/label'\n\nconst InputIconButtonDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id}>Input with icon button</Label>\n      <ButtonGroup className='w-full'>\n        <Input id={id} type='email' placeholder='Email address' />\n        <Button variant='outline' size='icon'>\n          <DownloadIcon />\n          <span className='sr-only'>Download</span>\n        </Button>\n      </ButtonGroup>\n    </div>\n  )\n}\n\nexport default InputIconButtonDemo\n","type":"registry:component","target":"components/shadcn-studio/input/input-32.tsx"}]}