Overview
MCP Server
Custom Shadcn Rating for React and Tailwind CSS. A customizable star rating component that supports read-only display and interactive input modes.
import { Rating } from "@/components/reui/rating"<Rating rating={Browse 9 production-ready Shadcn Rating components for dashboards, forms, and product UI. These examples use Base UI primitives from @base-ui/react and stay fully compatible with Shadcn Create so radius, color, and typography match your configured theme.
Browse all 9 Shadcn Rating components for copy-ready layouts, dashboards, and forms built with Tailwind CSS in the ReUI library.
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
When to use
When not to use
Agent notes
editable Rating takes pointer clicks only: each star is a div with an onClick and no role, tab stop or key handlermaxRating to onRatingChange; a decimal rating draws a partial star but cannot be pickedstarClassName styles the showValue number, not the stars; recolor stars from className through the rating-star-filled slothttps://reui.io/docs/components/base/rating.mdget_component("rating")npx shadcn@latest add @reui/ratingThe main component for displaying and editing star ratings.