Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The JavaScript Rating is a highly customizable control to rate products or services with precise and accurate values by using built-in precision modes. The customization supported in the JavaScript Rating control makes rating more expressive instead of just showing numeric values.

JavaScript Rating control


Precision modes

The JavaScript Rating control has several precision modes, which are listed below.

  • Full: The rating value is displayed in multiples of 1 (whole number).
  • Half: The rating value is displayed in multiples of 0.5 (half).
  • Quarter: The rating value is displayed in multiples of 0.25 (quarter).
  • Exact: The rating value is displayed in multiples of 0.1 (fraction).

JavaScript Rating precision modes


Tooltips

The JavaScript Rating control supports tooltips to provide more information about the rating. Tooltips can be customized using the template to provide more expressive content rather than the item’s numerical values.

JavaScript Rating tooltip template


Labels

Labels provide additional information about the current rating value. Labels can be customized using the template and placed in different positions around the rating.

JavaScript Rating label


JavaScript Rating templates

Templates

The JavaScript Rating control supports templates to customize rating items in different ways. Custom icons can be in the form of emojis, hearts, stars, SVG, and more.


Right to left (RTL)

The JavaScript Rating control supports right-to-left (RTL) rendering.

JavaScript Rating RTL


Customization

Customize rating items’ spacing, rated/unrated fill color, border color, and more, enabling it to fit the application’s needs.