GitHub Stars

Rating

A star rating component for displaying ratings visually.

Installation

npx shadcn@latest add @fulldev/rating

Usage

import { Rating } from "@/components/ui/rating"
<Rating value={4.5} />

Rating defaults to 5 when no value is provided.

Examples

API Reference

See the GitHub source code for more information on props.