This component is a standalone component and can be used without the Bootstrap CSS.
Colors of the component are using the Bootstrap CSS vars (along with a default color) so that if you are using bootstrap the component will take your color palette.
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.