ham7a311

Context Meter

AI chats

About

A visual meter showing how full an AI model's context window is, broken into segments for instructions, files, conversation and tool results, with warnings near the limit and a one-click compact action to summarize the conversation.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Context Meter to your project and fits it to your theme.

Code

How Context Meter is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import ContextMeter from "@/components/ui/context-meter";

export default function Demo() {
  return (
    <div className="flex min-h-full w-full items-center justify-center p-6 bg-[#efede8] text-[#1b1a17]">
      <ContextMeter theme="paper" />
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    253
  • Route Globe

    Route Globe

    195
  • Glass Tiles

    Glass Tiles

    183
  • Orbit Ring Stats

    Orbit Ring Stats

    82
  • Glyph Swell

    Glyph Swell

    78
  • Fan Deck Card

    Fan Deck Card

    77
  • Ask Bar

    Ask Bar

    63
  • Glass Ribbons

    Glass Ribbons

    53

More in AI chats

View all
  • Agent Chat

    Agent Chat

    21
  • AI Suggestions

    AI Suggestions

    27
  • Interactive LLM Token & Context Window Visualizer

    Interactive LLM Token & Context Window Visualizer

    30
  • AI Actions

    AI Actions

    372
  • Aquarium Prompt

    Aquarium Prompt

    223
  • Message Parts

    Message Parts

    11
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    36
  • AI Chat Composer

    AI Chat Composer

    22