Multiple widgets

Hello Folkz,
I was wondering, how can I spin out a child widget, similar to how asana task spin out as its own widget.

When I tried with widget.register, figma replaces the current widget.

Also from the widget api docs I found The widget.register function should only be called once when the manifest.main file runs.

Thanks in advance!

Thankyou :relaxed:, Can you please confirm these

  • I believe, in order to clone a widget, I need to access that widget node and call cloneWidget method on them.
  • But I can access the widget node only from the plugin API, within iframe.
  • And there is no way to clone a widget with widget API.

That’s right.

1 Like