Skip to content

Dashboards · React · Featured

Analytics dashboard

A responsive dashboard layout with sidebar navigation, stat cards, and a data table.
Analytics dashboard starter, as built from its own files
Starter screenshot captured from this template's own build at 1440×900. It shows the template as it ships, not output generated from a prompt.

What you get

A sidebar + content dashboard shell with stat cards, a dependency-free SVG revenue chart, a plan-mix breakdown and a searchable customer table backed by an in-memory array. Swap the array for a fetch call to your API and the table keeps working. Uses CSS grid for the responsive layout, so it collapses to a single column on phones.

Files, exactly as copied.

Exactly what is copied into a new project: 11 files, nothing generated.

Raw data: GET /api/v1/templates/vite-react-dashboard

src/data.ts
src/data.ts
export type Plan = "Free" | "Pro" | "Team";export type Status = "active" | "trialing" | "churned";export type Row = { id: number; customer: string; email: string; plan: Plan; mrr: number; status: Status; joined: string }; /** Sample data. Replace with a fetch to your API. */export const rows: Row[] = [  { id: 1, customer: "Aarav Studio", email: "billing@aarav.studio", plan: "Pro", mrr: 1499, status: "active", joined: "2026-01-14" },  { id: 2, customer: "Nimbus Labs", email: "ops@nimbuslabs.io", plan: "Team", mrr: 3999, status: "active", joined: "2025-11-02" },  { id: 3, customer: "Priya Designs", email: "hello@priya.design", plan: "Free", mrr: 0, status: "trialing", joined: "2026-04-21" },  { id: 4, customer: "Orbit Retail", email: "finance@orbitretail.com", plan: "Pro", mrr: 1499, status: "churned", joined: "2025-08-30" },  { id: 5, customer: "Kavya Tech", email: "admin@kavya.tech", plan: "Team", mrr: 3999, status: "active", joined: "2025-12-09" },  { id: 6, customer: "Lumen Health", email: "it@lumenhealth.co", plan: "Team", mrr: 3999, status: "active", joined: "2026-02-18" },  { id: 7, customer: "Fieldnote Co.", email: "team@fieldnote.co", plan: "Pro", mrr: 1499, status: "active", joined: "2026-03-03" },  { id: 8, customer: "Saffron Foods", email: "accounts@saffron.in", plan: "Free", mrr: 0, status: "trialing", joined: "2026-04-28" },]; /** Monthly recurring revenue for the last 12 months (sample data, in rupees). */export const revenue = [6200, 6900, 7400, 7100, 8600, 9400, 9900, 10800, 11900, 12600, 13800, 14995];export const months = ["May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Jan", "Feb", "Mar", "Apr"];

Remix

Remix this template.

Describe what to change and the agent starts from Analytics dashboard's files. The box is already started for you: finish “Start from Analytics dashboard and …”

Agent ready

Creates a free account first; your idea is carried over.

Dependencies

Documented from the template's package.json. The runtime has a prebuilt dependency set for Vite + React + TypeScript, so installs are fast.

  • react^19.1.0
  • react-dom^19.1.0
  • vite^6.3.0
  • @vitejs/plugin-react^4.4.0
  • tailwindcss^4.1.0
  • @tailwindcss/vite^4.1.0
  • typescript^5.8.0

How it runs

Framework
Vite + React + TypeScript
Dev command
npm run dev
Build command
npm run build
Output directory
dist
Port
5173
Entry route
/

Projects run in an isolated sandbox with a live preview. Read the projects documentation for settings, snapshots and deployment.

All templates

Build on Analytics dashboard

Create a free account, start from this template, and ask the AI agent to turn it into your app.