{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/input-21","type":"registry:component","title":"Input 21","description":"A URL input field with both external \"https://\" and \".com\" add-on boxes","registryDependencies":["button-group","input","label"],"files":[{"path":"src/registry/new-york/components/input/input-21.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 InputAddOnsDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id}>Input with add-ons</Label>\n      <ButtonGroup>\n        <ButtonGroupText>https://</ButtonGroupText>\n        <Input id={id} placeholder='shadcnstudio.com' />\n        <ButtonGroupText>.com</ButtonGroupText>\n      </ButtonGroup>\n    </div>\n  )\n}\n\nexport default InputAddOnsDemo\n","type":"registry:component","target":"components/shadcn-studio/input/input-21.tsx"}]}