> Rate uses the icon ri-star-fill, please ensure that the symbol.svg file in your project includes this icon. For details, please refer to [STDF-Guide-Icon](https://stdf.design/#/guide/icon).

## Notes on value and total

1. The passed-in value cannot be greater than the total;
2. The value of total must be divisible by 1;
3. When not allowing half selection, the value must be divisible by 1;
4. When allowing half selection, the value must be divisible by 0.5.

## Click optimization

Considering the interaction mode on mobile devices, when allowing half selection, clicking will switch between half selection and full selection, and when allowing zero scores, clicking the first item will switch between 0, 0.5, and 1.

Note: When considering the click area, please make sure that **the values of width and height are not less than 20**.

## Special attention

When custom content is needed, it can be achieved by passing in Slots. At this time, **be sure to pass in the width and height of the custom content**.
