A
Animlets

Copy button · Animlets

Copies text to the clipboard and morphs the icon to a check or an error mark. The swap is instant when reduced motion is requested.

npx shadcn@latest add https://raw.githubusercontent.com/lukemeno/animlets/main/public/r/copy-button.json
Loading the source for copy-button…

copy-button