Default rating

The simplest example shows how the user may interact with the widget to set a rating.
The value can be unset by clicking on the current rating.

Readonly

The readonly example below showcases how to disable the widget and use custom star display to support decimal ratings.

Custom template

The star can be fully customized, enabling various implementations of a rating.

Form integration

The widget can be integrated in a form as a mandatory field.

Accessibility

The rating component implements the ARIA slider role.