Skip to main content
Solved

Rendering Widgets on a Page, through a plugin

  • January 31, 2024
  • 3 replies
  • 290 views

Yash_Deshpande1

I’m trying to standardise the design process in my organization.

My solution is to write a plugin that would render the relevant pages in Figma, and have designers work as per that structure.

Here’s where I’m stuck:

I want to drop a widget inside a Figma page, For example, I would like to drop a Mindmap widget (one I’m happy to write myself) inside the information architecture page, so designers can use that widget to create an IA diagram.

I would also want to drop a cover page widget that lets designers choose from a set of hard-coded projects.

As of now, I’m handling this with the “await Figma.createNodeFromJSXAsync” function. But this only renders nodes and not widgets.

Any help would be appreciated 🙂

Best answer by tank666

This topic has been closed for replies.

3 replies

tank666
  • Answer
  • January 31, 2024

Yash_Deshpande1

This says that we cannot call other widgets, but would it be possible to write one within the plugin?


tank666
  • January 31, 2024