# Rate

The rate element shows star rating scores. Rate divides rating scores into several levels and these levels can be distinguished by using different background colors.

<figure><img src="/files/GD8p6jDWxF8kUWUGtH1c" alt=""><figcaption></figcaption></figure>

You can change the icons to your desired shape by clicking on the [Icon](/app-builder/app-construction/elements/web-elements/icon.md) within the rate element and altering its type.&#x20;

* Changing the first (yellow) icon will set the style of the icons which show the selected rating.&#x20;
* Changing the second (gray) icon will set the style of the icons which show the maximum rating.
* i.e. if the selected rating is 3 out of 5, the page will display 3 icons of the first style followed by 2 icons of the second style.

## Properties

<figure><img src="/files/gcW9Y69qgEeXck4BqFV7" alt=""><figcaption></figcaption></figure>

**Max Score:** Set the maximum rating

**Default Score:** Set what rating is shown by default

**Allow Half:** Toggle whether user can set a half rating

**Clearable:** Toggle whether user can clear the rating once its set

**Disabled:** Toggle to disable rating element

See [Tooltip](/app-builder/app-construction/elements/tooltip.md) for tooltip configurations.

## Supported Events

**Change:** Triggered when a user changes the rating.

## Supported Actions

**Set Score Value:** Set the value of the score.

**Set Data:** Change element data. See [Data Store](/app-builder/app-construction/data-store.md).

**Set Loading:** Set loading animation. See [Set loading animations](/app-builder/popular-use-cases/set-loading-animations.md).

{% hint style="info" %}
Visit [Interactions](/app-builder/app-construction/interactions.md) for more on events and actions.
{% endhint %}


---

# 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.acho.io/app-builder/app-construction/elements/web-elements/rate.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.
