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:
figma-copy.md
1. Copy the object in Figma
2. Open [Clipboard Inspector](https://evercoder.github.io/clipboard-inspector/) or a tool like it that can read the raw data off your clipboard.
3. When you paste the Figma object into this tool, you should see something that's type `text/html`, and possibly something of type `text/plain`. The `text/plain` one will be the text content of your object, which you can ignore.
---
In the `text/html`, you're looking for:
1. An HTML comment starting with `figmeta`:
```html
This file has been truncated. show original
1 Like
Eureka Eureka
Found a solution made just for you
https://figmacopybutton.framer.website