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/Landing.tsx
src/pages/Landing.tsx
import { Link } from "../router"; const features = [  { title: "Workspaces", body: "Invite teammates and give each person the right role.", icon: "M16 19v-1a4 4 0 00-4-4H8a4 4 0 00-4 4v1M10 10a3 3 0 100-6 3 3 0 000 6zM20 19v-1a3 3 0 00-2-2.8" },  { title: "Usage limits", body: "Metered plans enforced server-side, never in the browser.", icon: "M4 19h16M7 15v-4M12 15V7M17 15v-6" },  { title: "Audit log", body: "Every change recorded with who, what and when.", icon: "M7 3h7l5 5v13H7zM14 3v5h5M10 13h6M10 17h6" },]; const board = [  { name: "Website redesign", owner: "AK", progress: 72, tone: "bg-blue-500" },  { name: "Mobile onboarding", owner: "MR", progress: 45, tone: "bg-cyan-500" },  { name: "Billing migration", owner: "JS", progress: 18, tone: "bg-amber-400" },]; /** A preview of the app area, drawn with plain elements. */function AppPreview() {  return (    <div aria-hidden="true" className="relative">      <div className="absolute -inset-6 rounded-[2rem] bg-gradient-to-tr from-blue-100 via-cyan-50 to-transparent blur-2xl" />      <div className="relative overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-2xl shadow-blue-900/10">        <div className="flex items-center justify-between border-b border-slate-100 px-5 py-3.5">          <span className="text-sm font-semibold">Projects</span>          <span className="rounded-md bg-slate-900 px-2.5 py-1 text-[11px] font-medium text-white">New project</span>        </div>        <div className="grid grid-cols-3 gap-3 border-b border-slate-100 p-5">          {[["Active", "12"], ["Due this week", "4"], ["Members", "9"]].map(([l, v]) => (            <div key={l} className="rounded-xl bg-slate-50 p-3">              <div className="text-[11px] text-slate-500">{l}</div>              <div className="mt-1 text-lg font-semibold">{v}</div>            </div>          ))}        </div>        <ul className="divide-y divide-slate-100">          {board.map((p) => (            <li key={p.name} className="flex items-center gap-4 px-5 py-3.5 text-sm">              <span className="grid h-7 w-7 place-items-center rounded-full bg-slate-100 text-[10px] font-semibold text-slate-600">{p.owner}</span>              <span className="flex-1 font-medium">{p.name}</span>              <span className="h-1.5 w-28 rounded-full bg-slate-100">                <span className={"block h-1.5 rounded-full " + p.tone} style={{ width: p.progress + "%" }} />              </span>              <span className="w-9 text-right text-xs tabular-nums text-slate-500">{p.progress}%</span>            </li>          ))}        </ul>        <div className="border-t border-slate-100 px-5 py-4 text-right text-xs text-slate-400">Showing 3 of 12</div>      </div>      <div className="absolute -bottom-5 -left-6 rounded-xl border border-slate-200 bg-white px-4 py-3 shadow-xl">        <div className="text-[11px] text-slate-500">Audit log</div>        <div className="mt-0.5 text-xs font-medium">Maya changed the plan to Pro</div>      </div>    </div>  );} export function Landing() {  return (    <>      <section className="grid items-center gap-14 py-10 sm:py-16 lg:grid-cols-[1.05fr_1fr]">        <div>          <span className="inline-flex items-center gap-2 rounded-full border border-blue-100 bg-blue-50 px-3 py-1 text-xs font-medium text-blue-700">            <span className="h-1.5 w-1.5 rounded-full bg-blue-600" />            Now with role-based workspaces          </span>          <h1 className="mt-6 text-5xl font-semibold tracking-tight text-slate-900 sm:text-[3.5rem] sm:leading-[1.05]">Projects your whole team can see.</h1>          <p className="mt-5 max-w-lg text-lg leading-relaxed text-slate-600">Describe the outcome you deliver in one sentence. Ask Codexa to rewrite this hero, these features and the pricing for your audience.</p>          <div className="mt-8 flex flex-wrap gap-3">            <Link to="/signup" className="rounded-xl bg-blue-600 px-5 py-3 text-sm font-medium text-white shadow-lg shadow-blue-600/20 hover:bg-blue-700">              Create account            </Link>            <Link to="/pricing" className="rounded-xl border border-slate-200 px-5 py-3 text-sm font-medium hover:bg-slate-50">              See pricing            </Link>          </div>          <p className="mt-6 text-xs text-slate-500">Free plan available · No card required</p>        </div>        <AppPreview />      </section>      <section className="grid gap-5 py-14 sm:grid-cols-3">        {features.map((f) => (          <div key={f.title} className="rounded-2xl border border-slate-200 bg-white p-6">            <span className="grid h-10 w-10 place-items-center rounded-xl bg-blue-50 text-blue-600">              <svg viewBox="0 0 24 24" className="h-5 w-5" fill="none" stroke="currentColor" strokeWidth={1.8} strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">                <path d={f.icon} />              </svg>            </span>            <h2 className="mt-4 font-semibold">{f.title}</h2>            <p className="mt-2 text-sm leading-relaxed text-slate-600">{f.body}</p>          </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.