Drag corner to resize plugin window

Is there documentation on how to drag and resize the plugin UI window, like Figma Tokens does it?
Screen Shot 2022-06-09 at 9.13.43 am

It’s not a native feature, some plugins do it via cursor movement tracking and constantly sending updates to the Figma backend to then call figma.ui.resize() to increase/decrease the window size. You might be able to find helper libraries for this on google, I haven’t searched.

1 Like