Hover to preview, click to set, or focus and use the arrow keys, Home, End, or a digit.
Value 3 of 5
Left half of an item sets the half, right half the whole. Arrow keys move by 0.5.
Same behavior, any filled icon. Color comes from the --rating-color variable.
Each position has its own icon. Lit ones show in color, the rest recede.
A token, never a hex: set --rating-color on the root.
renderItem draws each item from its state: here a numbered chip.
A sample form: overall in half steps with a word beside it, three small ratings, an error in words if you skip the overall.