Copies on the press: the icon blurs into a self-drawing check, the label morphs to Copied, and a failed copy shakes and says so.
pnpm dlx shadcn@latest add "https://hairlineui.com/r/copy-button.json"