> 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/classic-app-builder/component-designer/right-sidebar/conditional-visibility.md).

# Conditional Visibility

In this section you will find out how to use 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="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2FxXwoWdgxnEhU13XkPqzA%2Fimage.png?alt=media&amp;token=44d68c6f-9e19-487c-be76-8e4d85816401" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
