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/Sparkline.tsx
src/Sparkline.tsx
export function Sparkline({ values, label, className }: { values: number[]; label: string; className?: string }) {  const w = 120;  const h = 36;  const min = Math.min(...values);  const max = Math.max(...values);  const range = max - min || 1;  const points = values.map((v, i) => [(i / (values.length - 1)) * w, h - ((v - min) / range) * (h - 4) - 2] as const);  const d = points.map(([x, y], i) => (i === 0 ? "M" : "L") + x.toFixed(1) + " " + y.toFixed(1)).join(" ");  const area = d + " L" + w + " " + h + " L0 " + h + " Z";  const id = "spark-" + label.replace(/[^a-z0-9]/gi, "");  return (    <svg viewBox={"0 0 " + w + " " + h} preserveAspectRatio="none" role="img" aria-label={label} className={className}>      <defs>        <linearGradient id={id} x1="0" x2="0" y1="0" y2="1">          <stop offset="0%" stopColor="currentColor" stopOpacity="0.35" />          <stop offset="100%" stopColor="currentColor" stopOpacity="0" />        </linearGradient>      </defs>      <path d={area} fill={"url(#" + id + ")"} />      <path d={d} fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinejoin="round" strokeLinecap="round" vectorEffect="non-scaling-stroke" />    </svg>  );}

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.