Skip to content

Dashboards · React

Operations dashboard

A dark service-health dashboard with SVG sparklines, status indicators, and a filterable incident table.
Operations 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 second dashboard variant focused on monitoring rather than business metrics. Each service card shows current latency, a dependency-free SVG sparkline of the last 24 samples and an error rate; the incident table filters by status. A 'simulate live updates' toggle re-samples the local data every two seconds so you can see how the UI behaves with changing values before connecting a real metrics endpoint.

Files, exactly as copied.

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

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

src/data.ts
src/data.ts
export type Service = { name: string; status: "operational" | "degraded" | "down"; latencyMs: number[]; errorRate: number };export type Incident = { id: string; title: string; service: string; status: "open" | "monitoring" | "resolved"; openedAt: string }; /** Deterministic pseudo-random series so the demo is stable between reloads. */function series(seed: number, base: number, spread: number, n = 24) {  const out: number[] = [];  let x = seed;  for (let i = 0; i < n; i++) {    x = (x * 9301 + 49297) % 233280;    out.push(Math.round(base + (x / 233280 - 0.5) * spread));  }  return out;} export const services: Service[] = [  { name: "API", status: "operational", latencyMs: series(7, 120, 40), errorRate: 0.2 },  { name: "Web", status: "operational", latencyMs: series(13, 80, 30), errorRate: 0.1 },  { name: "Worker", status: "degraded", latencyMs: series(21, 400, 250), errorRate: 2.4 },  { name: "Database", status: "operational", latencyMs: series(5, 12, 6), errorRate: 0 },]; export const incidents: Incident[] = [  { id: "INC-104", title: "Worker queue backlog above 5k jobs", service: "Worker", status: "monitoring", openedAt: "2026-05-02T08:14:00Z" },  { id: "INC-103", title: "Elevated 5xx on /api/export", service: "API", status: "resolved", openedAt: "2026-04-29T16:40:00Z" },  { id: "INC-102", title: "Slow dashboard loads for EU users", service: "Web", status: "resolved", openedAt: "2026-04-25T09:02:00Z" },  { id: "INC-101", title: "Scheduled database maintenance", service: "Database", status: "resolved", openedAt: "2026-04-20T22:00:00Z" },]; /** Simulate a new sample arriving. In a real app, fetch from your metrics endpoint instead. */export function tick(list: Service[]): Service[] {  return list.map((s) => {    const last = s.latencyMs[s.latencyMs.length - 1] ?? 100;    const next = Math.max(1, Math.round(last + (Math.random() - 0.5) * last * 0.2));    return { ...s, latencyMs: [...s.latencyMs.slice(1), next] };  });}

Remix

Remix this template.

Describe what to change and the agent starts from Operations dashboard's files. The box is already started for you: finish “Start from Operations 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 Operations dashboard

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