# Help with umbrella-groupswitchdisplay theme component

**URL:** https://meta.discourse.org/t/help-with-umbrella-groupswitchdisplay-theme-component/337993
**Category:** Support
**Created:** [November 23, 2024, 11:43pm UTC](https://meta.discourse.org/t/help-with-umbrella-groupswitchdisplay-theme-component/337993 "2024-11-23T23:43:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hoangviet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hoangviet/32/174417_2.png) [@hoangviet](https://meta.discourse.org/u/hoangviet)
#### Post date: [November 23, 2024, 11:43pm UTC](https://meta.discourse.org/t/help-with-umbrella-groupswitchdisplay-theme-component/337993/1 "2024-11-23T23:43:18Z")

</div>

Hi, is this component still working? I added it but it doesn’t work. Can you show me how to use it?

> [@Display different content within a topic based on user's groups membership?](https://meta.discourse.org/t/display-different-content-within-a-topic-based-on-users-groups-membership/227075/6):
>
> Finally got around to knocking this together as, [https://github.com/Umbrella-CAST/discourse-umbrella-groupswitchdisplay](https://github.com/Umbrella-CAST/discourse-umbrella-groupswitchdisplay) Super simple, just removes the targeted DIV from the DOM based on is the current user in a group name “foobar” or not in the group via “!foobar”. That lets me have a simple toggle display of content like the below image. Of course, if the component is disabled, then all of the content shows (since sans component the DOM doesn’t get trimmed down.) But this is good enough for w…

---

<div class="post-metadata">

### Author: ![copymonopoly](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@copymonopoly](https://meta.discourse.org/u/copymonopoly)
#### Post date: [March 6, 2025, 8:20pm UTC](https://meta.discourse.org/t/help-with-umbrella-groupswitchdisplay-theme-component/337993/2 "2025-03-06T20:20:24Z")

</div>

I have the same problem.

---

<div class="post-metadata">

### Author: ![Monikas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/monikas/32/375316_2.png) [@Monikas](https://meta.discourse.org/u/Monikas)
#### Post date: [April 22, 2025, 3:05am UTC](https://meta.discourse.org/t/help-with-umbrella-groupswitchdisplay-theme-component/337993/3 "2025-04-22T03:05:49Z")

</div>

```plaintext
 <div data-umbgrsw="SVIP">

XXXXXXXXXX
xxxxxxx

</div>

<div data-umbgrsw="%!SVIP">UI</div>

```
