{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/input-28","type":"registry:component","title":"Input 28","description":"A URL input field with a protocol selector dropdown at the start","registryDependencies":["button-group","input","label","select"],"files":[{"path":"src/registry/new-york/components/input/input-28.tsx","content":"import { useId } from 'react'\n\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'\nimport { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/registry/new-york/ui/select'\n\nconst InputStartSelectDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id}>Input with start select</Label>\n      <ButtonGroup>\n        <Select defaultValue='https://'>\n          <SelectTrigger id={id}>\n            <SelectValue />\n          </SelectTrigger>\n          <SelectContent>\n            <SelectItem value='https://' className='pr-2 [&_svg]:hidden'>\n              https://\n            </SelectItem>\n            <SelectItem value='http://' className='pr-2 [&_svg]:hidden'>\n              http://\n            </SelectItem>\n            <SelectItem value='ftp://' className='pr-2 [&_svg]:hidden'>\n              ftp://\n            </SelectItem>\n            <SelectItem value='sftp://' className='pr-2 [&_svg]:hidden'>\n              sftp://\n            </SelectItem>\n            <SelectItem value='ws://' className='pr-2 [&_svg]:hidden'>\n              ws://\n            </SelectItem>\n            <SelectItem value='wss://' className='pr-2 [&_svg]:hidden'>\n              wss://\n            </SelectItem>\n          </SelectContent>\n        </Select>\n        <Input id={id} type='text' placeholder='shadcnstudio.com' />\n      </ButtonGroup>\n    </div>\n  )\n}\n\nexport default InputStartSelectDemo\n","type":"registry:component","target":"components/shadcn-studio/input/input-28.tsx"}]}