# Change the UserMenu default tab

**URL:** https://meta.discourse.org/t/change-the-usermenu-default-tab/273818
**Category:** Development
**Created:** [August 3, 2023, 12:51pm UTC](https://meta.discourse.org/t/change-the-usermenu-default-tab/273818 "2023-08-03T12:51:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zcuric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zcuric/32/292837_2.png) [@zcuric](https://meta.discourse.org/u/zcuric)
#### Post date: [August 3, 2023, 12:51pm UTC](https://meta.discourse.org/t/change-the-usermenu-default-tab/273818/1 "2023-08-03T12:51:42Z")

</div>

It was long time since I worked on Discourse theme and the last time i did plugin API (v0.8) enabled [setting the default quick access tab to be set like this](https://meta.discourse.org/t/show-username-menu-instead-of-notification-menu-in-user-menu/146838):

```js
 api.reopenWidget("user-menu", {
    defaultState() {
      return {
        currentQuickAccess: "profile",
      };
    }
  });

```

How to do that in the new UserMenu component? Or is it even possible? I know a lot has changed.
