Skip to content

Copy Confirm

Renders a button with icon and text that changes on click. It shows a checkmark after copying and reverts. It uses animations for transitions. Use it when needing a visual confirmation after copying text.

byWatermelon Corpfrom Watermelon

Loading preview

Installation

terminal
pnpm dlx layro-cli add @watermeloncorp/copy-confirm

New project? Start with init. Writes third-party code and installs packages with scripts off.

Code

Demo

Sign in to see the code

Free, with GitHub, Google or email. The install command above works without an account.

Sign in

Versions

  1. 1.0.0 · current

    Nov 11, 2026

    First release.

Similar components