Internal work — described without client names, screenshots, or confidential detail.
Open source · npm package
react-smart-copy
Headless, type-safe clipboard interactions for React
A React library that handles the whole copy interaction, not only the clipboard call: copying, copied, failed, retry, and paste, with honest error states, hover, focus, and touch reveal, and screen-reader announcements built in.
Zero runtime dependencies
React 18 and 19, SSR and Next.js App Router safe
Typed, classified errors instead of silent failures
Keyboard-first triggers and screen-reader announcements