A rating component for displaying and selecting ratings

Interactive Playground
Live Rating instance6 active props
Props Configurator
5 properties

Size

1 prop
sizeStar Size
def: md

Icon dimensions

Interactivity

1 prop
readOnlyRead Only

Displays static rating without hover or click interactions

Options

3 props
precisionStar Precision
def: 0.5

Allows half-star granular selection

maxMax Stars
def: 5

Total number of star icons to display

clearableClearable

Allows clicking current value to reset rating to 0

Interactive Half-Star Rating

Interactive star rating with 0.5 precision, hover preview, and keyboard arrow controls

Rate Experience4.5 / 5

Current Rating: 4.5 / 5.0

Rating Sizes & States

Multiple scale sizes and read-only display states

Small (sm)5 / 5
Medium (md)4 / 5
Large (lg)4.5 / 5

Related Components

Complementary components commonly used alongside Rating.