5.0 User Interface

Not all plugins will require any user interface, but many will need to at least render error messages and such. Be sure to review the guidelines in this section to ensure that you’re providing a good user experience in your user interfaces.

5.1 Insertion Points

Use the correct insertion point for your user interface. Right now, this means that your plugin’s UI must be rendered within a Modal Dialog.

5.3 Alerts

Alerts are currently handled using modal dialogs, and as such, are extremely invasive to the user’s workflow. Use them sparingly and only when necessary.

5.4 Pill Buttons

Pill buttons are interactive, clickable buttons within your plugin’s user interface. These can have a variety of styles, including:

Buttons can also have a border (default) or be quiet (less visually intrusive).

5.5 Action Buttons

Action buttons are icon or text buttons that are used to trigger actions within the plugin’s UI. They are never used to dismiss a dialog. Use cases include a button that triggers a search for stock photos, a button that adds an item to a list, adding or removing tags, and more.

Action buttons come in two flavors: standard (default, with a border) and quiet (no border).

Action buttons can also be used to indicate a selected view or option — for example, two action buttons could be used to indicate if the user is viewing data in grid mode or list mode.

5.6 Text Fields

Text fields are a great way to get user input and change the behavior of your plugin based on user feedback. There are two types of text fields: single-line and multi-line.

5.7 Checkboxes

Checkboxes are a great way to provide on/off options to the user.

Dropdowns provide a way for the user to select one item form a list of many using a compact form.

5.9 Sliders

Sliders provide a way for the user to specify a numeric value by indicating the value on a ranged control.

5.10 Images

Images should be as crisp as possible for the user’s display. The runtime environment will typically try to select the best option if there are “@1x”, “@2x”, “@3x” options available locally, however this does not necessarily apply to remote images.

Links can be used to launch web pages in the user's system browser.

5.12 Layout

5.14 Onboarding