DEV Community

Vinish Kapoor
Vinish Kapoor

Posted on • Updated on

Copy to Clipboard - Clipboard.js

Clipboard.js is a javascript library that lets you copy content to clipboard with one line of code and paste it back with another. It also provides an API for building your own commands, as well as an external interface for triggering commands from your applications. To check the example, check the following post:

Copy to clipboard Example using Clipboard.js

Clipboard.js has no dependencies, and it's very small (~2kb gzipped).

Top comments (0)