Skip to main content
Question

[Figma API][Plugin] Possible to get origin file name from remote component?

  • April 10, 2025
  • 0 replies
  • 98 views

TravisT

Hello,

 

Say I have a file that contains a few remote component instances that are assets from another file i created. Is there a way to identify the file name the main component belongs to using the API? I figured this would be possible since you can physically see the file name in the right panel when clicking on it. 

I initially thought that I would be able to get all nodes from a file and check to see if they were remote components, then use the component key to find the file key. But it does not seem like that is an option. Is there any other way this would be possible?

Thank you.

This topic has been closed for replies.