Rating
Average Summary
A read-only average with the review count and a per-star breakdown: 4.5 built from fours and fives is a different product from 4.5 built from fives and ones.
What you can change
- value — the average score itself
- count — the number of reviews
- breakdown — the per-score distribution from five down to one
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-007?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-007-* variables. Server component: there is nothing to press here, so there are neither buttons nor radio buttons — only text and bars. The fractional average is shown as a fill stripe over the grey row through the --vibeui-rating-007-fill variable: rounding 4.7 up to five stars means lying in the product's favour. The star row is marked role="img" with a full aria-label, so a screen reader reads one phrase instead of five glyphs. The number of reviews is agreed by the Russian numeral rule.
Tags
- rating
- readonly
- reviews
- summary
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…