GBKS / bitcoin-wallet-ui-kit

A design system and UI kit for Bitcoin wallet applications.
https://www.bitcoinuikit.com
24 stars 3 forks source link

Allow for copy/paste via the website #21

Open GBKS opened 1 year ago

GBKS commented 1 year ago

Figma Components lets you copy components that you can then directly paste into Figma. It also seems to keep component links intact. Can we have similar functionality for bitcoinuikit.com?

It might be possible to automate this via the screen export plugin. While touching that plugin, we can also look into exporting screens for the website as SVG instead of PNG. They should load faster and scale better, and I believe we're 100% vector-based in the UI Kit, so there should not be any big problems. However, SVG export can be really messy and easily end up with unusable SVG code, so that's something to investigate.

GBKS commented 1 year ago

I researched this but could not find any info on how this was implemented. There might be some undocumented clipboard data format that Figma uses...?