IntelliJ Platform Plugin SDK Help

Icon Button

Using links instead of buttons

A toolbar icon button contains only an icon. There are three types of icon buttons:

  • An action triggers immediately.

  • A toggle switches between on and off states.

  • A drop-down opens a menu.

When to use

Follow the guidelines for the Toolbar.

How to use

Icon

Use an existing icon or create a new one following the icon guidelines.

Tooltip

Using links instead of buttons

Always provide a tooltip for an icon button. Include a shortcut if there is one. See Tooltip for details.

States

Using links instead of buttons

When an action is not available in a particular context, disable the icon button.

Filter badge

Using links instead of buttons

For filter actions, show a badge over an icon when a non-default option is selected. The badge helps to see if the content is in its default state or filtered.

Search option icon

Using links instead of buttons

Search option icons have a more noticeable pressed state to allow quickly seeing what affects the search results. See Search options for details.

19 June 2025