Default rating

The simplest example shows how the user may interact with the component 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 component 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 component can be integrated in a form as a mandatory field.

Accessibility

The rating component implements the ARIA slider role.