# General menu structure in a complexe uxp panel

**URL:** <https://forums.creativeclouddeveloper.com/t/general-menu-structure-in-a-complexe-uxp-panel/3904>\
**Category:** UXP Plugin API\
**Created:** [November 17, 2021, 2:49pm UTC](https://forums.creativeclouddeveloper.com/t/general-menu-structure-in-a-complexe-uxp-panel/3904 "2021-11-17T14:49:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![timmreiner](https://avatars.discourse-cdn.com/v4/letter/t/e79b87/32.png) [@timmreiner](https://forums.creativeclouddeveloper.com/u/timmreiner)\
**Post date:** [November 17, 2021, 2:49pm UTC](https://forums.creativeclouddeveloper.com/t/general-menu-structure-in-a-complexe-uxp-panel/3904/1 "2021-11-17T14:49:02Z")

</div>

Hi guys,

Maybe my question is a bit naive or amateurish, but I would be interested in how you would best build a panel with multiple menu pages to click through.  
Would you implement the whole thing with several html files, as with a classic website, or would you set it up as a one-pager with individual overlays, or do you perhaps have a completely different idea?

Up to now, I have always done this with my CEP panels on a whim, but now I would like to keep up with the times.

Best regards

---

<div class="post-metadata">

**Author:** ![Karmalakas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/karmalakas/32/1048_2.png) [@Karmalakas](https://forums.creativeclouddeveloper.com/u/Karmalakas)\
**Post date:** [November 17, 2021, 2:52pm UTC](https://forums.creativeclouddeveloper.com/t/general-menu-structure-in-a-complexe-uxp-panel/3904/2 "2021-11-17T14:52:05Z")

</div>

React  
Click on a tab/menu, set active tab/menu to state, layout renders depending on a state

---

<div class="post-metadata">

**Author:** ![pdophoto](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/pdophoto/32/1304_2.png) [@pdophoto](https://forums.creativeclouddeveloper.com/u/pdophoto)\
**Post date:** [November 17, 2021, 3:25pm UTC](https://forums.creativeclouddeveloper.com/t/general-menu-structure-in-a-complexe-uxp-panel/3904/3 "2021-11-17T15:25:25Z")

</div>

Another option would be a set of buttons to switch a number of contents in your page

---

<div class="post-metadata">

**Author:** ![Karmalakas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/karmalakas/32/1048_2.png) [@Karmalakas](https://forums.creativeclouddeveloper.com/u/Karmalakas)\
**Post date:** [November 17, 2021, 3:29pm UTC](https://forums.creativeclouddeveloper.com/t/general-menu-structure-in-a-complexe-uxp-panel/3904/4 "2021-11-17T15:29:15Z")

</div>

Wouldn’t that re-render whole panel?

---

<div class="post-metadata">

**Author:** ![pdophoto](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/pdophoto/32/1304_2.png) [@pdophoto](https://forums.creativeclouddeveloper.com/u/pdophoto)\
**Post date:** [November 17, 2021, 3:43pm UTC](https://forums.creativeclouddeveloper.com/t/general-menu-structure-in-a-complexe-uxp-panel/3904/5 "2021-11-17T15:43:59Z")

</div>

I don’t think so, it only shows the new content and doesn’t re-render the panel.  
I have a panel with a part that has 3 different content to switch sets of buttons without re-rendering the whole panel

---

<div class="post-metadata">

**Author:** ![Karmalakas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/karmalakas/32/1048_2.png) [@Karmalakas](https://forums.creativeclouddeveloper.com/u/Karmalakas)\
**Post date:** [November 17, 2021, 4:01pm UTC](https://forums.creativeclouddeveloper.com/t/general-menu-structure-in-a-complexe-uxp-panel/3904/6 "2021-11-17T16:01:39Z")

</div>

Googled a bit more and you might be right. It completely depends on a browser, most of which are smart enough in that regard. UXP panel is not a browser, so don’t know how smart they are, but I assume it’s smart enough 🙂
