{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/input-20","type":"registry:component","title":"Input 20","description":"A domain input field with an external \".com\" add-on box at the end","registryDependencies":["button-group","input","label"],"files":[{"path":"src/registry/new-york/components/input/input-20.tsx","content":"import { useId } from 'react'\n\nimport { ButtonGroup, ButtonGroupText } 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 InputEndAddOnDemo = () => {\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 add-on</Label>\n      <ButtonGroup>\n        <Input id={id} placeholder='shadcnstudio.com' />\n        <ButtonGroupText>.com</ButtonGroupText>\n      </ButtonGroup>\n    </div>\n  )\n}\n\nexport default InputEndAddOnDemo\n","type":"registry:component","target":"components/shadcn-studio/input/input-20.tsx"}]}