Motion/Copy Button
Copy Button
Copies a value and morphs its icon into a check.
$ npx shadcn add @opendraft/button
Installation
$npx shadcn@latest add @opendraft/copy-button
Needs the @opendraft registry in your components.json. See Installation.
Dependencies
Source
The files the install command adds to your project. They're yours to edit.