Rating
A whole-number score picked from a row of icons. Real radios, drawn through a CSS mask: they submit with a form and follow the arrow keys.
| Class | Effect | Type |
|---|---|---|
.rating | The row; holds the icon as --rating-mask (a star by default). | root |
.rating-primary.rating-neutral.rating-info.rating-success.rating-warning.rating-error | Sets color, one class per value. | axis color |
.rating-xs.rating-sm.rating-md.rating-lg.rating-xl | Sets size, one class per value. | axis size |
.rating-readonly | Written by the readonly prop. | flag |
.rating-item | One radio, drawn as the icon. Filled up to the checked one; hover previews. | part |