Gesture Rating Stars
A production-scale, light + dark Gesture Rating Stars component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add gesture-rating-starsLive preview available in the gallery.
Usage
import { GestureRatingStars } from "@lerpa/ui";
<GestureRatingStars />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| maxStars | number | — | |
| initialRating | number | — | |
| onChange | (rating: number) => void | — | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.