Ratings Input

v1.1.0

A star rating component with half-star support.

Interactive Half-Increment Input

Hover over the stars to rate with half-star precision.

Active Metric: 3.5 / 5.0

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
valuenumber0The active fractional scalar progress value assigned onto the star grid system map.
maxnumber5Sets the absolute total volume count of rendered interface node arrays.
readOnlybooleanfalseLocks internal event pipelines down completely, optimizing the block strictly for telemetry mapping.
allowHalfbooleantrueBifurcates 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.
activeColorClassstring'text-amber-400'Utility tailwind color string mapping directly into active, fully loaded svg path fills.
onChange(value: number) => voidundefinedCallback hook capturing structural commits inside user interaction tracks.
© 2026 Venti UI Labs. UI made right.