Context
A token-usage and context-window meter with a hover breakdown of input, output and cost.
$
Registry itembunx shadcn@latest add @nx-ui/ai-contextUsage meter
The trigger shows how much of the context window is used, as a percentage and a ring. Hover to break it down by input, output, reasoning and cache — with the running cost.
Approaching the limit
As the window fills, the ring closes and the percentage climbs — a cue to summarise or trim the conversation.