Skip to main content

Access to copy and paste data


It would be awesome if we could get access to copy and paste data in the Plugin API. We’re looking at creating a product which allows users export from our site to Figma (ideally through the clipboard) and the current ways of doing that involve some gnarly scripting I’d rather avoid.

If there’s another solution that would be awesome too!

To be more specific the endpoint would be used like
let copyData = figma.selection[0].copyData so we could copy that into users clipboards on our site.

9 replies

Celine_D
Figmate
  • Community Support
  • 3418 replies
  • April 21, 2023

Hi there! Thank you for your feedback.
Do not also forget to vote it, it will help us to gauge the overall interest in the community!


jk2K
  • New Participant
  • 14 replies
  • April 30, 2023

I want this feature,

expect:

refer to Clipboard API - Web APIs | MDN

add a figma api

// read
figma.clipboard.readText()
figma.clipboard.read()

// write
figma.clipboard.writeText()
figma.clipboard.write()

my case

I developed a plugin, want to convert a image to base64, and automatically write to clipboard

currently it is impossible, I can only write base64 text to a text node, and require my user to manually copy text

my plugin Pwireframe | Figma Community


dhruvin_vaghasiya

hi is there any solution for this now?


ostheperson

I’ve not seen a solution. i saw this site Component Explorer that does it. still looking for solutions.


Jaydip_Upadhyay

Yes i need that too


Does anyone manage how to do the copy + paste to Figma as a frame with text, etc…


Constant_GILLET

You can access to the Figma elements that you have copied on Clipboard Inspector


RyanHuang
  • New Participant
  • 5 replies
  • August 16, 2024

I need this feature too:

  1. copy data from a node
  2. paste a node data into a file

Patti
  • New Member
  • 1 reply
  • March 28, 2025

Bumping, we need this!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings