Ai Cost Estimator Card
A production-scale, light + dark Ai Cost Estimator Card component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-cost-estimator-cardLive preview available in the gallery.
Usage
import { AICostEstimatorCard } from "@lerpa/ui";
<AICostEstimatorCard />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| accent | string | — | |
| inputCostPerMillion | number | — | |
| outputCostPerMillion | number | — | |
| defaultInputTokens | number | — | |
| defaultOutputTokens | number | — | |
| defaultRuns | number | — | |
| model | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.