{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/input-15","type":"registry:component","title":"Input 15","description":"An email input field with a mail icon positioned at the end","dependencies":["lucide-react"],"registryDependencies":["input-group","label"],"files":[{"path":"src/registry/new-york/components/input/input-15.tsx","content":"import { useId } from 'react'\n\nimport { MailIcon } from 'lucide-react'\n\nimport { InputGroup, InputGroupAddon, InputGroupInput } from '@/registry/new-york/ui/input-group'\nimport { Label } from '@/registry/new-york/ui/label'\n\nconst InputEndIconDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id}>Input with end icon</Label>\n      <InputGroup>\n        <InputGroupInput id={id} placeholder='Email address' />\n        <InputGroupAddon align='inline-end'>\n          <MailIcon className='size-4' />\n        </InputGroupAddon>\n      </InputGroup>\n    </div>\n  )\n}\n\nexport default InputEndIconDemo\n","type":"registry:component","target":"components/shadcn-studio/input/input-15.tsx"}]}