Skip to main content
Jason_van_Breukelen
Aug 3, 2022 5:39 PM UTC
Question

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!

This topic has been closed for replies.

8 replies

Boumkil
Aug 15, 2022 8:18 AM UTC

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

fengweiyao
New Member
Sep 5, 2022 2:17 PM UTC

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.

Prerana_Das
Sep 22, 2022 5:06 AM UTC

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

Sajib_Hossain
Jan 21, 2023 12:58 PM UTC

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

Aug 17, 2023 11:33 AM UTC

Did anyone find out how to do this?

DanieleLanzetta
Aug 13, 2024 9:38 PM UTC

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

RobKovacs
New Participant
Aug 22, 2024 9:00 PM UTC

This worked for me, hope it helps someone else:

gist.github.com
Jay_Dwivedi
New Member
Oct 6, 2024 11:57 PM UTC

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