How to make copy to clipboard for Figma on library sites

Hi Webflow Community,

I am noticing more and more Figma libraries lately popping up. Think about: https://www.flowbase.co/, https://figmacomponents.com/

I’m currently figuring out how they do section X inside a copy to clipboard button. (Want to build this for a client) But, I am not coming to an end, after googling for hours, I can’t find anything about this.

Is there someone how this exactly works?

Would love to know that!

1 Like

Hi there, did you find out how? I have the same question.

The key point is how can we struct data that figma know and write data to clipboard.

Writting data to clipboard can use the Clipboard API。But no one know how to struct the data other than Figma team.

If you visit docs about how upload components to figmacomponents.com,you will find all of components clipboard data is obtained from user manule copy action.

I’m also looking for the same thing. Any updates?

If you want this solution. Please contact me at sajeeb214771@gmail.com

Did anyone find out how to do this?

Hi all, did anyone has a clear solution to this? Tnx

This worked for me, hope it helps someone else:

1 Like

Eureka Eureka
Found a solution made just for you :grin:
https://figmacopybutton.framer.website