AI · Application UI
Context
Hover-card token/cost usage meter for AI model context windows (adapted from Vercel AI Elements).
@byronwade/foundation@byronwade/utils@byronwade/button@byronwade/hover-card@byronwade/progressaitokenlens
Adapted from Vercel AI Elements , the original components, repurposed onto the byronwade/ui design system (semantic tokens, dark mode, small subtle refinements). © Vercel.
Feature showcase
Installation
Features
1 example
Default.
API
Dependencies
| Package | Kind | Description |
|---|---|---|
| @byronwade/foundation | registry | Installed through the byronwade/ui registry. |
| @byronwade/utils | registry | Installed through the byronwade/ui registry. |
| @byronwade/button | registry | Installed through the byronwade/ui registry. |
| @byronwade/hover-card | registry | Installed through the byronwade/ui registry. |
| @byronwade/progress | registry | Installed through the byronwade/ui registry. |
| ai | npm | Installed from npm. |
| tokenlens | npm | Installed from npm. |
Source and related
| File | Path |
|---|---|
| Component | registry/components/ai-context.tsx |
| Default example | content/examples/ai-context/default.tsx |