# A component for Conditional UI elements?

**URL:** <https://meta.discourse.org/t/a-component-for-conditional-ui-elements/110255>\
**Category:** Development\
**Created:** [February 27, 2019, 5:19pm UTC](https://meta.discourse.org/t/a-component-for-conditional-ui-elements/110255 "2019-02-27T17:19:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![swamidass](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swamidass/32/119549_2.png) [@swamidass](https://meta.discourse.org/u/swamidass)\
**Post date:** [February 27, 2019, 5:19pm UTC](https://meta.discourse.org/t/a-component-for-conditional-ui-elements/110255/1 "2019-02-27T17:19:18Z")

</div>

Is there a theme component to add buttons, css, or links based on conditions?

I want to add a button were users can request memebership if they don’t have it yet in certain categories.

---

_[View the full topic](https://meta.discourse.org/t/a-component-for-conditional-ui-elements/110255)._
