Testimonials, rating
- from @klarhimmel
A review-site look: a big average score with stars and the review count on the left, two to four star-rated reviews with a headline, text, name and date on the right. Stars are decorative; the rating is read out as "5 out of 5 stars". The score card is drawn only when score holds the business's real rating; with no real rating, leave score and basis empty and only the reviews show. With a real rating and no review texts (reviews empty) it is a slim strip: stars, score and count on one line beside the title, and a link to the reviews.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @klarhimmel/testimonials-rating