Rate
Select or display a rating.
Choose a rating
basic.tsx
Colors by score
Brand color
colors.tsx
Read-only and disabled
Read-only rating
Disabled rating
states.tsx
Rate API
Types
Import these types to define props or prepare data.
Usage notes
Hover previews the score and color; leaving restores the selected value. Arrow keys adjust rating, Home/End jump to the ends and Delete/Backspace clear. Read-only preserves display; disabled also prevents interaction. Supports FormData and uncontrolled form reset.