Review Sentiment Scale
A production-scale, light + dark Review Sentiment Scale component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add review-sentiment-scaleLive preview available in the gallery.
Usage
import { ReviewSentimentScale } from "@lerpa/ui";
<ReviewSentimentScale />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| defaultValue | number | — | |
| label | string | — | |
| labels | SentimentLabels | — | |
| onChange | (value: number) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.