Rating
A star scale that works as an input or a read-only score, plus a compact badge for review counts.
tsx
import { Rating, RatingBadge } from "@pestoui/core"Interactive
Hover, click or use the arrow keys — the stars are a roving-focus radio group.
3 of 5 stars
Read-only & fractional
readOnly swaps the buttons for a single labelled image and lets the last star fill partially.
Rating badge
For lists and cards where a full star row is too heavy. The value is always shown to one decimal.
4.8stars4.8stars(1,280)reviews4.8stars(1,280)reviews
Props
Pesto UI · 117 documented components