Rating
feedbackStar rating component with interactive selection, hover preview, numeric value display, and disabled state. Token-driven star colors, sizes, and opacity.
Import
typescript
import { Rating } from "packages/ui/src";Props
RatingProps
| Prop | Type | Required |
|---|---|---|
value | number | No |
max | number | No |
onChange | (value: number) => void, showValue?: boolean, label?: string, disabled?: boolean | No |
Examples
Rating
Star rating input with hover preview, numeric display, and disabled state.
Interactive
Selected: 3 / 5