Margin bottom modal (popup) for my Figma plugin

I have developed a simple plugin for Figma and I have a question about the visual design. I have completed the design, but there is one thing I am unsure about how to do:

  1. How can I control the space between the buttons and the bottom of the modal?

Is there a way to design or control the modal to achieve it?

I have added an image to illustrate my question.

Frame 3


You can specify the height of your modal in figma.showUI(__html__, {height: value}).

Or resize using figma.ui.resize(width, height).

Or change your CSS to suit your needs. For example, using Flexbox.

Thank you! Works!