--- title: Rating Review description: A read-only star or heart rating display. --- ## Preview ## Installation CLI Manual ```bash npx @olyx/cli@latest add rating-review ``` Copy and paste the following code into your project. Update the import paths to match your project setup. ## Usage ```tsx import { RatingReview } from "@/components/ui/rating-review" ``` ```tsx ``` ## API Reference ### RatingReview Read-only rating display. Uses HugeIcons internally for star and heart icons. | Prop | Type | Default | | --------- | ------------------- | -------- | | `variant` | `"star" \| "heart"` | `"star"` | | `value` | `number` | `0` | | `max` | `number` | `5` | ## Examples ### Heart Variant