# Notification Balloon: How to display "Primary" action button?

**URL:** <https://platform.jetbrains.com/t/notification-balloon-how-to-display-primary-action-button/1182>\
**Category:** IntelliJ Platform\
**Created:** [April 1, 2025, 3:14am UTC](https://platform.jetbrains.com/t/notification-balloon-how-to-display-primary-action-button/1182 "2025-04-01T03:14:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![entrealist](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/entrealist/32/1027_2.png) [@entrealist](https://platform.jetbrains.com/u/entrealist)\
**Post date:** [April 1, 2025, 3:14am UTC](https://platform.jetbrains.com/t/notification-balloon-how-to-display-primary-action-button/1182/1 "2025-04-01T03:14:09Z")

</div>

Hi IntelliJ Community,

I’m developing a plugin for IntelliJ products and have added a notification balloon for one of the plugin actions.

I’d like to add multiple actions into the Notifications Balloon as shown in the [UI Guidelines](https://plugins.jetbrains.com/docs/intellij/balloon.html):  
[guideline example image](https://plugins.jetbrains.com/docs/intellij/images/notification_balloon_dark.png)

According to the guidelines, I thought the first action should be displayed as an outlined button (if multple actions are set)  
However, I haven’t found an option to indicate that the first action as a **primary**.  
Currently, my actions always look like this:

 ![image](https://us1.discourse-cdn.com/flex001/uploads/jetbrains_platform/original/2X/9/9a7700d245e3e939f1dbc1d2cdf4ea4da9a5687c.png)

**Notification Balloon Code Snippet**

```kotlin
val ViewInEditorAction = NotificationAction.createSimple("View in Editor") { /* action code */ }
val ReportABugAction = NotificationAction.createSimple("Report a Bug") { /* action code */ }
NotificationGroupManager.getInstance()
                        .getNotificationGroup(PLUGIN_NOTIFICATION_GROUP)
                        .createNotification(
                            title = "$selectionText copied to clipboard",
                            type = NotificationType.INFORMATION
                        )
                        .addActions(listOf(ViewInEditorAction, ReportABugAction))
                        .notify(project)

```

**Question**  
How can I indicate that a notification action should be marked as a primary action (like “Connect to database…” in the guideline example?

Thanks!

P.S. Sorry can’t add more than 2 images and links as a new user.  
Please click on “guideline example image” to see what I expect to get.

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [April 25, 2025, 5:03pm UTC](https://platform.jetbrains.com/t/notification-balloon-how-to-display-primary-action-button/1182/2 "2025-04-25T17:03:48Z")

</div>

> [@entrealist](#):
>
> I thought the first action should be displayed as an outlined button

Only if a notification truly needs user reaction always

---

<div class="post-metadata">

**Author:** ![ldd](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/ldd/32/1238_2.png) [@ldd](https://platform.jetbrains.com/u/ldd)\
**Post date:** [April 26, 2025, 8:55am UTC](https://platform.jetbrains.com/t/notification-balloon-how-to-display-primary-action-button/1182/3 "2025-04-26T08:55:49Z")

</div>

try `notification.isSuggestionType = true`
