About this set
Rating summaries that sit at the top of a reviews section, without the review cards. Summary with a link per star shows a kettle’s 4.6 average from 2,318 reviews, the share of buyers who would recommend it, and a Write a review button, next to five distribution rows where each row is a link that filters the reviews to that star rating. Scores by category is a course rating with an overall 4.8 tile and six category scores, such as Content quality and Pace, each with its number and a bar, plus a Rate this course button. Compact strip with a histogram fits an app’s 4.2 average, its stars, a five-column mini histogram and a Write a review button into one row that stacks on phones. Every number is written as text and the bars are drawings of those numbers, so the summary reads the same without the graphics. The plain version uses CSS Grid, the Bootstrap version uses the grid, .progress and .btn, and nothing needs JavaScript.
What’s included
- Average score, review count and recommend percentage
- Distribution rows that link to filtered reviews
- Category scores with bars
- Compact strip with a mini histogram
- Write a review call to action in every layout
Accessibility
Each summary is a section named by its heading. Averages read as Rated 4.6 out of 5, distribution links read as Show 5 stars, 1,642 reviews, and the histogram has a visually hidden sentence with every count. Bars and stars are aria-hidden. Links and buttons show a 3px focus outline and their colour transitions stop under prefers-reduced-motion.
Customise it
Change --su-on, --su-bar, --su-track, --su-btn and --su-focus on .su for colours. In Bootstrap the bars read --bs-progress-bg and --bs-progress-bar-bg from the same variables; in Tailwind edit the su colours in @theme.






