# Rating Summary Reviews block

> Customer reviews section with rating summary sidebar and sortable review list

Product reviews layout: summary card with aggregate rating, star-distribution bars and top-mention tags beside a sortable review list with verified badges and helpful counts. ReUI Rating, Badge, shadcn Card, Progress, Select, Avatar. Ratings pages.

- Type: Pro block
- Category: [Review](https://web.dev.reui.io/blocks/ecommerce/review.md)
- Page: https://web.dev.reui.io/blocks/ecommerce/review/review-3
- Docs (Base UI): https://web.dev.reui.io/docs/components/base/rating.md
- Docs (Radix UI): https://web.dev.reui.io/docs/components/radix/rating.md
- MCP: `get_block("review-3")`
- Built with: Avatar, Badge, Button, Card, Progress, Rating, Select
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A summary card of the average score, star distribution bars, recommend rate and mention tags beside a list with a sort select

## Agent notes

- `sortValue` follows the Select but `REVIEWS` is never reordered; sort it by the `SORT_OPTIONS` value yourself
- `RECOMMEND_PERCENT` is a hardcoded 94 and `REVIEW_BREAKDOWN` holds fixed counts; derive both from real rating data
- The Write A Review `Button` and the helpful button in `ReviewRow` have no click handler, so both do nothing

## When not to use

- Tiles with topic chips and a thumbs up count, but no star distribution bars: use [Topic Filter Reviews](https://web.dev.reui.io/blocks/ecommerce/review/review-2.md) (`get_block("review-2")`)
- A bare ratings overview with a large average and a count bar per star level: use [Rating](https://web.dev.reui.io/components/rating.md) (`get_component("rating")`)

## Install

```bash
npx shadcn@latest add @reui/review-3
```

## About Review blocks

### When to use

- Customer reviews on a product page: stars, reviewer avatars and a link to all reviews
- Buyer quotes as social proof, rotating in an auto playing slider or set out in a static grid
- A ratings overview with the average score, star distribution bars and the topics buyers mention

### When not to use

- A slider of product photos or promo slides with no buyer quotes in it: use [Carousel](https://web.dev.reui.io/components/carousel.md) (`get_component("carousel")`)
- A star score on its own, or a star input inside a form with no review text: use [Rating](https://web.dev.reui.io/components/rating.md) (`get_component("rating")`)
- Rows of metrics, transactions or integrations with a figure or button on each: use the [List blocks](https://web.dev.reui.io/blocks/application/list.md)

### Agent notes

- Every `Reviews` root takes no props and reads `PRODUCT` plus `REVIEWS` or `TESTIMONIALS` from data.ts; add props to pass in your own product
- `PRODUCT.reviewCount` is a fixed 1284, not the length of the 3 to 6 reviews each block renders; set it from your review total
- Reviewer names link to `authorHref` and the review count to `PRODUCT.allReviewsHref`, both demo hash anchors to point at your routes

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
