Skip to contentFacade Pro is $149 once during launch, then $199. Lifetime updates.
Facade
Browse the library

Components / Feedback

Star rating

Free

Animated fractional star rating with review count, plus an accessible interactive input mode.

View as Markdownlucide-reactmotion

Installation

$npx shadcn@latest add https://facadeui.com/r/star-rating.json

Usage

import { StarRating } from "@/components/facade/star-rating";

export default function Page() {
  return <StarRating />;
}

Props

StarRatingProps is exported, so you can extend or wrap it. Every prop has a default; <StarRating /> renders the example above.

Props of StarRating
PropTypeDescription
valuenumberRating value, fractional allowed (e.g. 4.8). Defaults to 5.
maxnumber
countnumberNumber of reviews. Shown as "4.8 ยท 312 Google reviews".
sourcestringReview source shown before "reviews", e.g. "Google".
sizekeyof typeof SIZES
starsOnlybooleanHide the numeric value and count.
animatebooleanAnimate the fill when scrolled into view.
classNamestring

Ask your agent

With the Facade MCP server connected, this prompt is enough:

Add the Facade star rating to this page and adapt the copy to our business.