Copy Button
A copy-to-clipboard button whose icon morphs to a check with a ripple, then reverts.
Quickstartbash
Add the component
$ npx lumenite add copy-button1 file, 0 dependencies
Usage: paste this file into your project (e.g.
components/copy-button.tsx), make sure framer-motion, clsx and tailwind-merge are installed, and add the cn() helper from the docs.