An icon size takes an aria-label, which its tooltip shows; after a press the tooltip says how the copy went.
pnpm dlx shadcn@latest add "https://kinoui.com/r/copy-button-2.json"