> For the complete documentation index, see [llms.txt](https://docs.trysavvy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trysavvy.com/how-tos/logic-how-tos/how-to-set-show-hide-conditions.md).

# How to set show/hide conditions

{% embed url="<https://app.arcade.software/share/3y0sH6QjU2LyUgq8Anga>" %}

{% hint style="info" %}
Conditions are based on variables, these variables could be user inputs or other data like location or URL parameters. In this example we are basing out conditions on a user's input.&#x20;
{% endhint %}

{% hint style="warning" %}
Conditions are always set when to show, meaning the component is going to be shown when the condition returns TRUE.
{% endhint %}

1. With the "Designer" card opened, select the element you want to set the condition for.
2. In the "Show/hide" tab of the "Designer" card, click the "Add condition" button.
3. In the first dropdown, select from the list of component keys the variable on which the condition is going to be based.
4. Then select an operator from the second dropdown. (E.g.&#x20;
5. Depending on the operator you've selected you might also need to set a third parameter for the condition like in this example case (the "Option 2" button)&#x20;

### Related docs:

<table data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table>
