Skip to content

CRM · React

CRM pipeline

Contacts table plus a five-stage deal pipeline board with inline stage changes, all persisted locally.
CRM pipeline 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 small CRM with two views over the same data: a searchable contacts table with stage selects and delete, and a kanban-style pipeline (Lead → Qualified → Proposal → Won/Lost) where deals move between columns with keyboard-accessible buttons. State lives in localStorage via a typed hook so the app works offline; swap src/store.ts for API calls when you add a backend.

Files, exactly as copied.

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

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

src/ContactsTable.tsx
src/ContactsTable.tsx
import { useState } from "react";import { STAGES, STAGE_TONE, initials, type Stage, type useContacts } from "./store"; export function ContactsTable({ store }: { store: ReturnType<typeof useContacts> }) {  const [q, setQ] = useState("");  const rows = store.contacts.filter((c) => [c.name, c.company, c.email].some((s) => s.toLowerCase().includes(q.toLowerCase())));  return (    <div className="rounded-2xl border border-slate-200 bg-white shadow-sm">      <div className="flex flex-wrap items-center justify-between gap-3 border-b border-slate-200 px-4 py-3">        <input value={q} onChange={(e) => setQ(e.target.value)} placeholder="Search contacts" aria-label="Search contacts" className="w-64 rounded-lg border border-slate-200 bg-slate-50 px-3 py-1.5 text-sm outline-none focus:border-sky-400 focus:bg-white" />        <button type="button" onClick={store.reset} className="text-xs text-slate-500 hover:text-slate-900">          Reset sample data        </button>      </div>      <div className="overflow-x-auto">        <table className="w-full min-w-[640px] text-sm">          <thead className="text-left text-xs uppercase tracking-wide text-slate-400">            <tr>              <th className="px-4 py-3 font-medium">Name</th>              <th className="px-4 py-3 font-medium">Company</th>              <th className="px-4 py-3 font-medium">Email</th>              <th className="px-4 py-3 font-medium">Stage</th>              <th className="px-4 py-3 text-right font-medium">Value</th>              <th className="px-4 py-3">                <span className="sr-only">Actions</span>              </th>            </tr>          </thead>          <tbody>            {rows.map((c) => (              <tr key={c.id} className="border-t border-slate-100 hover:bg-slate-50">                <td className="px-4 py-3">                  <span className="flex items-center gap-3 font-medium">                    <span className="grid h-8 w-8 place-items-center rounded-full bg-gradient-to-br from-sky-100 to-sky-100 text-xs font-semibold text-slate-700">{initials(c.name)}</span>                    {c.name}                  </span>                </td>                <td className="px-4 py-3">{c.company}</td>                <td className="px-4 py-3 text-slate-500">{c.email}</td>                <td className="px-4 py-3">                  <select value={c.stage} onChange={(e) => store.update(c.id, { stage: e.target.value as Stage })} aria-label={"Stage for " + c.name} className={"rounded-md border-0 px-2 py-1 text-xs font-medium " + STAGE_TONE[c.stage].badge}>                    {STAGES.map((s) => (                      <option key={s}>{s}</option>                    ))}                  </select>                </td>                <td className="px-4 py-3 text-right tabular-nums">{"$" + c.value.toLocaleString()}</td>                <td className="px-4 py-3 text-right">                  <button type="button" onClick={() => store.remove(c.id)} className="text-xs text-rose-600 hover:underline">                    Delete                  </button>                </td>              </tr>            ))}            {rows.length === 0 ? (              <tr>                <td colSpan={6} className="p-10 text-center text-slate-500">                  No contacts match “{q}”.                </td>              </tr>            ) : null}          </tbody>        </table>      </div>    </div>  );}

Remix

Remix this template.

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

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