Ai Context Window Meter
A production-scale, light + dark Ai Context Window Meter component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-context-window-meterLive preview available in the gallery.
Usage
import { AIContextWindowMeter } from "@lerpa/ui";
<AIContextWindowMeter />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| used | number | — | |
| limit | number | — | |
| accent | string | — | |
| segments | { label: string | — | |
| tokens | number | - | |
| color | string }[] | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.