Clipboarding content on Click Event

Hey there,

I am looking for a possibility to copy e.g. a hex code into the user’s clipboard, when interacting with my webflow site. I saw an example in one of webflow’s posts:

In this Styleguide template, there is at the top the little message saying: “click a color to add the hex code to your clipboard”. I want to build something similar to this.

So again: I want to copy specific content in the user’s clipboard, when pressing a button or taking a certain interaction on my webflow site.

Thanks so much,

1 Like

Please read this first: Posting Guidelines for the Code Help Category