Skip to main content
Abinivesh
New Member
Aug 8, 2025 7:10 AM UTC
Question

Feature Request -> Expose Component Source File/Library Name in Plugin API

Hey Community,
   Using ComponentNode.key and ComponentNode.remote (boolean), I can detect remote components and import them via figma.importComponentByKeyAsync(). However, there’s no API to get the original source file name or library name of a remote component.

Would it be possible to expose the component’s source filename or published library name in the Plugin API? This would help plugins display component origin info like the Figma UI does.

1 reply

Joshua_Harwood
New Participant
Aug 21, 2025 12:17 AM UTC

This would be really useful, not being able to identify the external library makes it difficult for tasks like removing all unwanted styling/variables/components.