Ai Answer Confidence Indicator
A production-scale, light + dark Ai Answer Confidence Indicator component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-answer-confidence-indicatorLive preview available in the gallery.
Usage
import { AIAnswerConfidenceIndicator } from "@lerpa/ui";
<AIAnswerConfidenceIndicator />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| confidence | number | — | |
| accent | string | — | |
| label | string | — | |
| signals | { name: string | — | |
| weight | number }[] | - |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.