E-Commerce
Review Summary with Rating Breakdown
Average rating, star row and review count beside a 5-to-1 star horizontal bar breakdown with counts.
$ velocityx add review-summary Built for astro.
Full docs for Review Summary with Rating Breakdown →
Needs a licence key —
subscribe here, then
velocityx loginonce.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| average | number | Yes | ||
| reviewCount | number | Yes | ||
| breakdown | Record<1 | 2 | 3 | 4 | 5, number> | Yes | ||
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/review-summary/ReviewSummary.astro Using the Review Summary with Rating Breakdown component
Install it with velocityx add review-summary.
The CLI writes the source straight into your project — no runtime dependency, no registry
lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.
Related components
More from E-Commerce.
Order totals block listing subtotal, shipping, tax and discount rows that only render when passed, plus a grand total.
astroResponsive image-and-label tile grid linking into catalogue categories, with an optional item count.
astroCentred placeholder for an empty cart with icon, copy and a continue-shopping CTA.
astroPost-checkout success panel with order number, delivery estimate, line items and total paid.
astro