# Conditional Styles

Learn how to apply different styling dynamically, based on conditions or events (such as *On Hover*).

### **Video**

You may see a video on Conditional Styles below:

{% embed url="<https://www.loom.com/share/ecc9ed46dd2a4580bd952325935bcae1>" %}
This video shows you how to create dynamic user interfaces using **Conditional Styles**
{% endembed %}

### **Examples**

You may find examples of Conditional Styles in our Showroom:

<https://showroom.appfarm.app/ui-components/conditional-styles>

### **Documentation**

Relevant articles in our documentatio&#x6E;**:**

[Conditional Styles](/reference/apps/ui/component-properties.md#conditional-style-properties)


---

# Agent Instructions: 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:

```
GET https://docs.appfarm.io/appcademy/appfarm-fundamentals/user-interface-fundamentals/conditional-styles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
