Edit the plugin UI header

Hi there! I am hoping to edit the header of my plugin, where it shows the plugin icon, name, and X button. I wanted to add a minimize button there so that users of my plugin can minimize and expand the plugin while it is running. Is this possible?

Thank you in advance!

Unfortunately, there is no such possibility. But you can add a minimize/maximize button to your plugin’s UI and use the figma.ui.resize(width, height) function to resize the plugin modal.