The one copy control, calm: its icon crossfades to the still green tick and Copy to Copied, colour only, read once, at a width held by the widest word. Refused, it says the rose Not copied and selects the value to copy by hand. As a button in a field, or the icon alone, its name and tip saying Copied.
npx shadcn@latest add https://notchset.dev/r/copy-button.jsoncopy-button