# UI states

The **UI state** of a component defines what it will look like in various scenarios, like a [Next](https://docs.formsort.com/building-flows/styling/buttons#next-button) button when it's hovered over. These states can be customized to create a feeling that the flow is responding to user interaction.&#x20;

Here is a helpful table that shows the different UI states that can be customized.&#x20;

| UI state     | Description                                                                                                                                                        |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **default**  | No user interaction has happened.                                                                                                                                  |
| **disabled** | The button is disabled (e.g., cannot continue, or a choice is disabled).                                                                                           |
| **checked**  | <p>User has selected this choice.<br><br><strong>Only available on</strong> <a href="#select-button">select</a> <strong>buttons and their variations.</strong></p> |
| **focused**  | The user has tabbed or otherwise focused the button.                                                                                                               |
| **hover**    | <p>The user's cursor is over the button.</p><p></p><p>This will not be seen by mobile responders, as there is not an equivalent to hover on mobile phones.</p>     |

{% hint style="info" %}
See our [CSS Reference](/css-and-advanced-styling/css-reference.md) section for an overview of the CSS properties that can be applied to various components.&#x20;
{% endhint %}

See the following sections for more insight into components and how they can be used.&#x20;


---

# 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.formsort.com/styling/customizing-appearance/ui-states.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.
