Skip to main content
Solved

Finding description of InstanceNode


As far as I know, from the Figma doku, it is fairly easy to find the description of a component. However, I have not found a way to get the description of a component by looking at an Instance of that component. Is there a way to programmatically retrieve the description of a Figma component based on an instance of that component?

Best answer by Gleb

instance.mainComponent.description

View original
This topic has been closed for replies.

2 replies

Gleb
  • Power Member
  • 4708 replies
  • Answer
  • July 12, 2023

instance.mainComponent.description


  • Author
  • 2 replies
  • July 12, 2023

Thank you very much


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