Early accessFull site coming soon. Pro is $49.99 a year. See pricing ›

Nexus UI

Context Meter, animated React component

A context-window token meter drawn as a 40 by 5 dot grid. Hover a category to light only its dots; the conversation keeps growing, and Compact chat drops its dots out of the grid while everything after them reflows to close the gap.

  • Pro
  • AI Components
  • Hover
  • Spring

Play with it

Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.

Context window53%
105.4Kof 200K tokens
94.6K left

Props

PropTypeDefaultWhat it does
categoriesSystem prompt, Tools, Files, Conversation, MemoryStarting categories as { id, label, color, tokens } with tokens in thousands; read once on mount.
limit200Window size in thousands of tokens; the grid always has 200 dots.
growId"conv"Category that grows by 2.2K every 380ms and is cut back to 6.2K by Compact chat.
autoplayfalseCycles the highlight and compacts when the window passes 90%, until someone touches the card.