> For the complete documentation index, see [llms.txt](https://docs.jetadmin.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jetadmin.io/component-designer/right-sidebar/conditional-visibility.md).

# Conditional Visibility

**Conditional Visibility** allows dynamic display adjustments of UI components or layers based on specified conditions. This feature is handy when you need UI elements to respond to changes, such as altering the color of a metric indicator depending on whether its value is positive or negative.

To practice the feature, let's build this example:

<figure><img src="/files/SBdlL9oJqQExq8iEt6dN" alt="" width="341"><figcaption></figcaption></figure>

Let's go by colors one by one. For building the green part, please follow the steps:

1. Click on the `Add Fill`  button from the **Right Sidebar**
2. Click on the `Color` button to change the color
3. Click on the `Conditional Fill` button
4. From the **Component Parameters** choose the right parameter
5. Set the condition of the parameter > 0

{% @arcade/embed flowId="gBBLppdGIMSj2HFVKhw6" url="<https://app.arcade.software/flows/gBBLppdGIMSj2HFVKhw6/edit>" %}

For building the red part, please follow the steps:

1. Click on the `Add Fill`  button from the **Right Sidebar** to add the second fill
2. Click on the `Color` button to change the color
3. Click on the `Conditional Fill` button
4. From the **Component Parameters** choose the right parameter
5. Set the condition of the parameter < 0

{% @arcade/embed flowId="nWgVV1ShbSYWilRDbyc3" url="<https://app.arcade.software/share/nWgVV1ShbSYWilRDbyc3>" %}

#### Component Property Conditional Visibility

Component Property Visibility allows you to apply conditions to Fills, Borders, and Shadows based on conditions.

#### Component Conditional Visibility

Component Conditional Visibility allows you to show/hide the element (text, shapes, images) on the Component Designer.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.jetadmin.io/component-designer/right-sidebar/conditional-visibility.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
