A 0..1 star rating, rendered as count stars (default 5). Each star is split
into two clickable halves, so the granularity is 1 / (count * 2) — i.e. 0.1
per half for 5 stars. Clicking a half fills every preceding star plus that star
up to the clicked half, and reports the new value via onChange.
Stars display the EXACT value (partial fills allowed); only clicks snap to the
half-step grid. readOnly renders the stars without the click targets.
Composes Star.
A
0..1star rating, rendered ascountstars (default 5). Each star is split into two clickable halves, so the granularity is1 / (count * 2)— i.e. 0.1 per half for 5 stars. Clicking a half fills every preceding star plus that star up to the clicked half, and reports the new value via onChange.Stars display the EXACT value (partial fills allowed); only clicks snap to the half-step grid.
readOnlyrenders the stars without the click targets. Composes Star.