Put it in an InputGroupAddon, at the size of the field’s buttons.
pnpm dlx shadcn@latest add "https://kinoui.com/r/copy-button-3.json"