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.
Options
Section titled “Options”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]} />