Skip to main content
Question

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


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.

0 replies

Be the first to reply!

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