# Conditionally show hide tabs in tab element

**URL:** <https://community.weweb.io/t/conditionally-show-hide-tabs-in-tab-element/8278>\
**Category:** How do I?\
**Tags:** conditional-display, design\
**Created:** [April 24, 2024, 9:08am UTC](https://community.weweb.io/t/conditionally-show-hide-tabs-in-tab-element/8278 "2024-04-24T09:08:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FHEXL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/fhexl/32/13607_2.png) [@FHEXL](https://community.weweb.io/u/FHEXL)\
**Post date:** [April 24, 2024, 9:08am UTC](https://community.weweb.io/t/conditionally-show-hide-tabs-in-tab-element/8278/1 "2024-04-24T09:08:25Z")

</div>

Hi there,

I want to dynamically show/hide tabs in the tab element. This works, but the tabs are not collapsing. Please take a look below  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/828372a478c4f71aade623fdd3edea361e88380a.png)

How can I push Tab 4 against Tab 2?

---

<div class="post-metadata">

**Author:** ![luka](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/luka/32/1571_2.png) [@luka](https://community.weweb.io/u/luka)\
**Post date:** [April 24, 2024, 12:06pm UTC](https://community.weweb.io/t/conditionally-show-hide-tabs-in-tab-element/8278/2 "2024-04-24T12:06:35Z")

</div>

Not possible at the moment, best next thing until we improve the tab element is making your own tabs

You need a variable that will hold the active tab name, and then use conditional display under element settings to show content depending on the name

---

<div class="post-metadata">

**Author:** ![FHEXL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/fhexl/32/13607_2.png) [@FHEXL](https://community.weweb.io/u/FHEXL)\
**Post date:** [April 24, 2024, 8:07pm UTC](https://community.weweb.io/t/conditionally-show-hide-tabs-in-tab-element/8278/3 "2024-04-24T20:07:14Z")

</div>

Thanks! I will make my own tabs when needed. For now I only need to conditionally show 1 tab, which I placed at the end. So far so good.
