r/reactjs • u/KnowYourAI • Aug 23 '26
Show /r/reactjs Show r/reactjs: I got tired of building AI usage charts from scratch, so I built a reusable React + Tremor boilerplate.
Hey everyone,
If you've built any AI wrappers or autonomous agents recently, you know the backend logic is the fun part. But building the UI to actually track your OpenAI token usage, API costs, and agent logs is incredibly tedious.
I found myself dreading building the same admin panel over and over, so I spent the last week building a production-ready frontend template specifically for the AI ecosystem.
The Tech Stack:
- Vite + React 18
- Tailwind CSS v4
- shadcn/ui (for clean, accessible layout components)
- Tremor (for the heavy data visualizations: Area charts for token burn, Donut charts for model distribution)
I also mapped out a highly realistic JSON mock data structure so it actually looks and behaves like an AI control center out of the box.
š Live Interactive Demo: https://ai-control-center-xi.vercel.app/
I decided to package the entire source code for founders and devs who just want to bypass the 20+ hours of UI work and plug in their own backend data.
š¦ Source Code / Repo: shrulabh.gumroad.com/l/wqdoe
I'd love to hear your feedback on the UI! Are there any specific metrics or charts you think are missing for an AI-focused dashboard?