{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/input-18","type":"registry:component","title":"Input 18","description":"A URL input field with both \"https://\" prefix and \".com\" suffix text add-ons","registryDependencies":["input-group","label"],"files":[{"path":"src/registry/new-york/components/input/input-18.tsx","content":"import { useId } from 'react'\n\nimport { InputGroup, InputGroupAddon, InputGroupInput } from '@/registry/new-york/ui/input-group'\nimport { Label } from '@/registry/new-york/ui/label'\n\nconst InputTextAddOnsDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id}>Input with text add-ons</Label>\n      <InputGroup className='max-w-xs'>\n        <InputGroupAddon className='text-foreground font-normal'>https://</InputGroupAddon>\n        <InputGroupInput id={id} placeholder='shadcnstudio' />\n        <InputGroupAddon align='inline-end' className='text-foreground font-normal'>\n          .com\n        </InputGroupAddon>\n      </InputGroup>\n    </div>\n  )\n}\n\nexport default InputTextAddOnsDemo\n","type":"registry:component","target":"components/shadcn-studio/input/input-18.tsx"}]}