VanillaReactLight & dark254 views
An AI attention-pattern popover: a 5x5 query/key attention heatmap with token-labeled axes, highlighted attended tokens, a weight legend and a live model status footer, revealed from a trigger button with click-outside and Escape to close.
Get the code for free
Create a free account to copy or download the full source.
Popover component
An AI attention-pattern popover: a 5x5 query/key attention heatmap with token-labeled axes, highlighted attended tokens, a weight legend and a live model status footer, revealed from a trigger button with click-outside and Escape to close.
deep token is emphasized typographically on both axes without label background fillsquery → key · weight tooltipprefers-reduced-motionrole="dialog" with an aria-labelaria-haspopup, aria-expanded and aria-controlsrole="img" with an aria-label naming the tokens, the query/key axes, and the diagonal self-attention patterntitle of the form query → key · weight for sighted hover readingaria-hidden:focus-visible with --ring outline on all interactive elementsprefers-reduced-motion: reduce disables all animationsOpen Attention Map Popover in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the popover is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
300+ production-ready components and Atheros AI models. Every paid plan includes access to the whole Atheros — AI Builder and Learning.
Starting at $9.9 per month, billed annually