Rating
Vote Spread
A star-vote distribution: the average score is a marker on a one-to-five rail, with a vote count for every notch underneath.
What you can change
- the votes array — the counts from five stars down to one
- the accent through the accent prop
- the summary text under the rail
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/rating-009?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, zero dependencies, the palette in the local --vibeui-rating-009-* variables. Server component: read-only, there is nothing to click. The average is shown not with stars but with a marker on a rail from one to five — the position is computed as a weighted mean over votes, so the number and its place on the rail cannot diverge. Under the rail there are not only percentages but the live vote counts for every notch: the same share out of a thousand and out of ten votes means different confidence, and the counter makes that visible.
Tags
- rating
- distribution
- votes
- summary
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…