All templates
Web template

Build a SaaS dashboard with AI

Start from a sidebar-and-content dashboard layout and have the Claude Code Agent add data tables, charts, and Supabase-backed data, then deploy to Vercel.

A dashboard shell with a fixed sidebar and an Overview content area. It's the fastest way to start an admin panel, analytics view, or SaaS app where the agent fills in tables, charts, and data fetching.

Use cases

What you can build

  • SaaS admin and customer dashboards
  • Analytics and KPI views
  • API monitoring and usage dashboards
  • Back-office tools for operations teams

What's included

In the starter

  • src/App.tsx with a two-column layout: a bordered sidebar and a main Overview area
  • Tailwind classes for the full-height flex layout
  • package.json with React 18 and React DOM

Files

  • src/App.tsx
  • package.json

Prompt ideas

Things to ask the AI agent

“Add sidebar navigation for Overview, Customers, and Settings with client-side routing.”

“Add four KPI cards and a line chart of weekly signups using mock data.”

“Add a sortable, paginated customers table.”

“Replace the mock data with queries against a Supabase table and generate the migration.”

How it works

From template to deployed app

  1. 1Sign up or sign in to CloudCode.
  2. 2Click New Project, give it a name, and choose "API Dashboard" under Web.
  3. 3Open the preview — dependencies are read from package.json and fetched automatically.
  4. 4Describe what you want in the agent chat. The agent edits the files and the live preview updates.
  5. 5Deploy to Vercel from the Deploy panel when it's ready, or push the code to your GitHub repo.

FAQ

Questions about this template

Can the agent add charts?

Yes. Ask for a chart and the agent can add a charting library such as Recharts to package.json and build the component, then you can see it immediately in the live preview.

Can the dashboard use real data?

Yes. Connect a Supabase project and the agent will write the queries and generate SQL migration files for your tables.

Is the template free to use?

Yes. Templates are available to every CloudCode account, and new accounts get free credits on signup with no card required.

Build a SaaS dashboard with AI today

Free credits on signup. No card required.