# How to add my own drop down(popupMenu) like the composer options?

**URL:** https://meta.discourse.org/t/how-to-add-my-own-drop-down-popupmenu-like-the-composer-options/272314
**Category:** Development
**Tags:** composer
**Created:** [July 20, 2023, 5:34pm UTC](https://meta.discourse.org/t/how-to-add-my-own-drop-down-popupmenu-like-the-composer-options/272314 "2023-07-20T17:34:45Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![tyler-mairose-sp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyler-mairose-sp/32/315587_2.png) [@tyler-mairose-sp](https://meta.discourse.org/u/tyler-mairose-sp)
#### Post date: [July 27, 2023, 1:47pm UTC](https://meta.discourse.org/t/how-to-add-my-own-drop-down-popupmenu-like-the-composer-options/272314/4 "2023-07-27T13:47:23Z")

</div>

Ah okay, that makes a lot of sense for the group sections.

I changed the group back to extras and now it does show up, but now it along with the existing options cog dropdown the same menu.

```javascript
api.onToolbarCreate(toolbar => {
  toolbar.addButton({
      id: "align_center_button",
      group: "extras",
      icon: "align-center",
      popupMenu: true
  });
});

```

Would this be a possible feature to add to the plugin API? The ability to add custom items to your own dropdown independent of the existing options dropdown. I could see this being useful as our composer is starting to look a little cluttered with all the additional options we would like to have 🙂

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-my-own-drop-down-popupmenu-like-the-composer-options/272314)._
