# Add new item to user dropdown menu

**URL:** <https://meta.discourse.org/t/add-new-item-to-user-dropdown-menu/389755>\
**Category:** Product Support\
**Tags:** user-menu\
**Created:** [November 26, 2025, 5:46pm UTC](https://meta.discourse.org/t/add-new-item-to-user-dropdown-menu/389755 "2025-11-26T17:46:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [November 26, 2025, 8:56pm UTC](https://meta.discourse.org/t/add-new-item-to-user-dropdown-menu/389755/4 "2025-11-26T20:56:43Z")

</div>

Yes, sorry, I made a mistake when I copied the code.

By default, you see this in the JS tab.

```js
import { apiInitializer } from "discourse/lib/api";

export default apiInitializer((api) => {
  // Your code here
});

```

And then, you put this where the placeholder is.

```js
api.addQuickAccessProfileItem({
  icon: "pencil",
  href: "/somewhere",
  content: "Title"
})

```

So, the result should look like this:

```js
import { apiInitializer } from "discourse/lib/api";

export default apiInitializer((api) => {
 api.addQuickAccessProfileItem({
  icon: "pencil",
  href: "/somewhere",
  content: "Title"
 })
});

```

Above, I had accidentally copied one of the default lines.

---

_[View the full topic](https://meta.discourse.org/t/add-new-item-to-user-dropdown-menu/389755)._
