# Star-Led Reviews block

> Auto-playing customer review carousel with star-rating-led testimonial cards and dot pagination

Looping testimonial slider for product pages and social proof sections: auto-rotating cards pause on hover, each leads with a star Rating, quote, and reviewer avatar. Uses ReUI Rating with shadcn Carousel, Card, Avatar, Separator.

- Type: Pro block
- Category: [Review](https://web.dev.reui.io/blocks/ecommerce/review.md)
- Page: https://web.dev.reui.io/blocks/ecommerce/review/review-6
- 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-6")`
- Built with: Avatar, Card, Carousel, Rating, Separator
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

Compact cards led by the stars, with a divider above a small avatar, the name and a role line

## Agent notes

- `TestimonialCard` wraps each `quote` in curly quotes, so keep the `TESTIMONIALS` quotes free of quotation marks
- `Autoplay` has `stopOnInteraction` false, so a drag pauses it until release and a dot click through `scrollTo` never stops it

## When not to use

- Cards that open with a quote mark and keep the role and stars on one line: use [Testimonial Carousel](https://web.dev.reui.io/blocks/ecommerce/review/review-5.md) (`get_block("review-5")`)
- One full length testimonial per slide with the author shown in a bar below: use [Avatar Review Carousel](https://web.dev.reui.io/blocks/ecommerce/review/review-1.md) (`get_block("review-1")`)

## Third-party libraries

- Embla Carousel Autoplay v8: [API reference](https://www.embla-carousel.com/docs/v8/plugins/autoplay), [docs](https://www.embla-carousel.com/docs/v8/plugins)
- Embla Carousel v8: [API reference](https://www.embla-carousel.com/docs/v8/api), [docs](https://www.embla-carousel.com/docs/v8/get-started/react), through shadcn Carousel

## Install

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

## 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.
