Skip to main content
Question

How to make copy to clipboard for Figma on library sites

  • August 3, 2022
  • 8 replies
  • 2369 views

Jason_van_Breukelen

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
  • 1 reply
  • August 15, 2022

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


fengweiyao
  • New Member
  • 2 replies
  • September 5, 2022

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
  • 9 replies
  • September 22, 2022

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


Sajib_Hossain

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


  • 1 reply
  • August 17, 2023

Did anyone find out how to do this?


DanieleLanzetta

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


RobKovacs
  • New Participant
  • 5 replies
  • August 22, 2024

This worked for me, hope it helps someone else:

gist.github.com

Jay_Dwivedi
  • 3 replies
  • October 6, 2024

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