Ratings Input
v1.1.0A star rating component with half-star support.
Interactive Half-Increment Input
Hover over the stars to rate with half-star precision.
Read-Only Dimensional Layouts
Display ratings in read-only mode for reviews.
Catalog Index Value:
Premium User Status:
API Reference
All available props for this component.
Property | Type | Default | Description |
|---|---|---|---|
| value | number | 0 | The active fractional scalar progress value assigned onto the star grid system map. |
| max | number | 5 | Sets the absolute total volume count of rendered interface node arrays. |
| readOnly | boolean | false | Locks internal event pipelines down completely, optimizing the block strictly for telemetry mapping. |
| allowHalf | boolean | true | Bifurcates hit tracking zones horizontally, enabling evaluation metrics based on half increments. |
| size | 'sm' | 'md' | 'lg' | 'md' | Drives internal geometric height and width CSS parameters using clean localized inline variables. |
| activeColorClass | string | 'text-amber-400' | Utility tailwind color string mapping directly into active, fully loaded svg path fills. |
| onChange | (value: number) => void | undefined | Callback hook capturing structural commits inside user interaction tracks. |