Skip to content

Rating summary

Shows the average as a large number and as stars, then one Progress bar per star level. Each bar has a label such as “5 star reviews: 96” for screen readers, and the visible star and count columns are hidden from them to avoid repetition.

4.6

Based on 128 reviews

  • 75%
  • 16%
  • 5%
  • 2%
  • 2%
  • average: average score, shown to one decimal place (required)
  • count: total number of reviews (required)
  • distribution: review counts from the highest star level down to 1 (required). Bars are scaled against the sum of these counts
<RatingSummary average={4.6} count={128} distribution={[96, 20, 7, 3, 2]} />