INPUTS · 43 / 89
Rating
Rating — a Material You inputs component for React Native and web.
packages/ui/src/components/Rating.tsx
Variants
The states and shapes this component is meant to be used in.
Sizes
16 px — inline in a product list
Read only and disabled
Rating locked after 30 days
Ten star scale
How likely are you to recommend us?
8 of 10
API reference
Generated from the library's TypeScript, so it cannot drift from the implementation.
number
Current rating; halves are rendered (e.g. 3.5).
(value: number) => void
Interactive when provided; tapping a star sets a whole value.