A Button that copies a value. Its icon rolls to a tick and its label to “Copied”, a status region says so, and it goes back after two seconds. Icon-only, it is named in a tooltip; a copy that fails shows an error.
pnpm dlx shadcn@latest add "https://kinoui.com/r/copy-button.json"