Read-only or interactive star-rating control with half-star support and accessible keyboard input.
Interactive StarRating preview coming soon.
This component ships with CleenUI. Its dedicated Storybook story is still being published — until it lands here, the full Storybook catalog is one click away.
StarRating displays a value as a row of filled and unfilled stars. Read-only mode is for displaying existing ratings; interactive mode lets the user click or use arrow keys to set the value.
Half-star precision is supported via configurable step. The component handles all the awkward visual details around half-star rendering correctly, including RTL layouts and varying star counts.
Skip the manual import — ask your AI agent to build with this component. The Builder skill knows its props, variants, and idioms.