Skip to content

SaaS · React · Featured

SaaS starter

Marketing pages, sign-in and sign-up screens, and an authenticated app area with a mocked session you replace with real auth.
SaaS starter 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 multi-page single-page app built on a tiny hash router (no extra dependency): landing, pricing, sign in, sign up, an app dashboard and a settings page. Authentication is deliberately mocked in src/auth.tsx and labelled as such in the UI; the session lives in localStorage so you can click through every flow before wiring up a real provider.

Files, exactly as copied.

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

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

src/pages/Dashboard.tsx
src/pages/Dashboard.tsx
import { useAuth } from "../auth";import { Link } from "../router"; const projects = [  { name: "Website redesign", status: "In progress", updated: "2 hours ago", progress: 72 },  { name: "Mobile onboarding", status: "Review", updated: "Yesterday", progress: 90 },  { name: "Billing migration", status: "Planned", updated: "3 days ago", progress: 10 },]; const tone: Record<string, string> = { "In progress": "bg-blue-50 text-blue-700", Review: "bg-amber-50 text-amber-700", Planned: "bg-slate-100 text-slate-600" }; export function Dashboard() {  const { user } = useAuth();  return (    <section className="py-4">      <div className="flex flex-wrap items-end justify-between gap-3">        <div>          <p className="text-sm text-slate-500">Dashboard</p>          <h1 className="mt-1 text-3xl font-semibold tracking-tight">Welcome, {user?.name}</h1>          <p className="mt-1 text-sm text-slate-600">            Plan: <span className="font-medium capitalize">{user?.plan}</span>          </p>        </div>        <Link to="/app/settings" className="rounded-lg border border-slate-200 bg-white px-3 py-2 text-sm shadow-sm hover:bg-slate-50">          Settings        </Link>      </div>      <div className="mt-6 grid gap-4 sm:grid-cols-3">        {[["Projects", String(projects.length)], ["In review", "1"], ["Seats used", "1 of 1"]].map(([l, v]) => (          <div key={l} className="rounded-2xl border border-slate-200 bg-white p-5">            <div className="text-sm text-slate-500">{l}</div>            <div className="mt-1 text-2xl font-semibold">{v}</div>          </div>        ))}      </div>      <div className="mt-6 overflow-hidden rounded-2xl border border-slate-200 bg-white">        <table className="w-full text-sm">          <thead className="bg-slate-50 text-left text-xs uppercase tracking-wide text-slate-500">            <tr>              <th className="px-5 py-3 font-medium">Project</th>              <th className="px-5 py-3 font-medium">Status</th>              <th className="px-5 py-3 font-medium">Progress</th>              <th className="px-5 py-3 font-medium">Updated</th>            </tr>          </thead>          <tbody>            {projects.map((p) => (              <tr key={p.name} className="border-t border-slate-100">                <td className="px-5 py-3.5 font-medium">{p.name}</td>                <td className="px-5 py-3.5">                  <span className={"rounded-md px-2 py-0.5 text-xs font-medium " + tone[p.status]}>{p.status}</span>                </td>                <td className="px-5 py-3.5">                  <span className="block h-1.5 w-32 rounded-full bg-slate-100">                    <span className="block h-1.5 rounded-full bg-blue-500" style={{ width: p.progress + "%" }} />                  </span>                </td>                <td className="px-5 py-3.5 text-slate-500">{p.updated}</td>              </tr>            ))}          </tbody>        </table>      </div>    </section>  );}

Remix

Remix this template.

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

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