Components/buttons

Copy Button

A copy-to-clipboard button whose icon morphs to a check with a ripple, then reverts.

Free
Quickstartbash

Add the component

npx lumenite add copy-button
1 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.