{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "input-19",
  "title": "Input with inline button",
  "description": "A send button inside the end of a newsletter field.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/field.json",
    "https://ui.ndekocode.dev/r/icons.json",
    "https://ui.ndekocode.dev/r/input.json",
    "https://ui.ndekocode.dev/r/theme.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/components/input/input-19.tsx",
      "content": "import { SendIcon } from '@/registry/ndeko/lib/icons';\nimport { Field, FieldLabel } from '@/registry/ndeko/ui/field';\nimport { Input } from '@/registry/ndeko/ui/input';\n\nconst FIELD_BUTTON =\n  'text-muted-foreground hover:bg-foreground/5 hover:text-foreground focus-visible:ring-ring/25 absolute inset-y-0 end-1 my-auto flex size-6 items-center justify-center rounded-md outline-none transition-[color,background-color,box-shadow] focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50';\n\nexport default function Input19() {\n  return (\n    <Field className='w-full max-w-xs'>\n      <FieldLabel>Newsletter</FieldLabel>\n      <div className='relative'>\n        <Input className='pe-8' type='email' placeholder='you@example.com' />\n        <button type='submit' className={FIELD_BUTTON} aria-label='Subscribe'>\n          <SendIcon className='size-4' />\n        </button>\n      </div>\n    </Field>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "components",
    "input"
  ],
  "type": "registry:component"
}