A production-ready Next.js SaaS admin template for building SaaS applications. Includes authentication, payments, email campaigns, content management, admin dashboard, and more. Launch your SaaS faster with all the infrastructure already set up.
Ship a production-grade SaaS CRM UI in days, not months.
A Next.js + React admin template with 60+ screens, shadcn/ui components, charts, AI-ready shells, and zero backend lock-in.
Building a CRM from scratch means weeks of layout work, table components, chart wiring, auth screens, and navigation — before you write a single line of business logic.
The Shadcn Admin CRM Template solves that. It is a dual-surface product:
| Surface | Purpose |
|---|---|
| Marketing landing | Violet–indigo hero, lead capture form, pricing CTAs, light/dark toggle |
| CRM application shell | Dense operational UI — sidebar, navbar, tables, kanban, charts, detail views |
The template is built for indie hackers, SaaS founders, agencies, and developers who need a credible admin product fast. It ships with realistic demo data, so every screen feels operational in demos and investor pitches — not like empty wireframes.
Highlights at a glance:
| Resource | Link |
|---|---|
| Live demo | crm-saas-pi.vercel.app |
| Alternate demo | crm-saas.buildsaas.dev |
| Intro video | YouTube Short |
| Buy (USD) | Gumroad — $49 |
| Buy (INR) | Dodo Payments — UPI / cards |
| GitHub | github.com/shreyvijayvargiya/crm-saas |
| Author | X — @treyvijay |
Launch with a polished CRM shell while you build auth, billing, and your core product. Pipeline views, subscription pages, and SaaS billing panels are already structured for MRR-style products.
Reuse one codebase across client projects. Swap branding via the Theme Customizer, connect each client's API, and ship in days instead of weeks.
Clean JavaScript (no TypeScript required), familiar Next.js Pages Router, documented design system (Design.md), and copy-paste component recipes. Escape CSS rabbit holes — clone, tweak, deploy.
Agent Ops and SaaS Dashboard modules give you UI for run history, token metering, prompt versions, and webhook triggers — wire your own LLM when ready.
Every route below is implemented with demo data, responsive layout, and consistent shell chrome (sidebar + navbar).
| Route | Page | Description |
|---|---|---|
/ |
Dashboard | KPI cards, charts, recent activity, quick actions |
/analytics |
Analytics | Sales overview, funnels, lead sources, rep performance, ticket status |
/reports |
Reports | Report builder and export-ready summaries |
/activity |
Activity | Unified activity feed across CRM entities |
| Route | Page | Description |
|---|---|---|
/leads |
Leads | Lead list with stats, filters, sorting, charts |
/leads/[id] |
Lead detail | Profile, notes, timeline, related records |
/sales |
Sales | Revenue analytics, product sales table, progress reports |
/sales/[id] |
Sale detail | Individual sale breakdown |
/pipelines |
Pipelines | Kanban-style deal pipelines |
/pipelines/[id] |
Pipeline deal detail | Stage, value, owner, activity |
/deals |
Deals | Deal table with status, value, close date |
/deals/[id] |
Deal detail | Full deal record with tabs |
/contacts |
Contacts | Searchable contact directory |
/contacts/[id] |
Contact detail | Contact profile and history |
/companies |
Companies | Company directory with ratings and industry |
/companies/[id] |
Company detail | Company profile, linked contacts & deals |
/e-commerce |
E-commerce | Store overview, metrics, popular products |
/e-commerce/orders |
Orders | Order tracking and fulfillment |
/e-commerce/orders/[id] |
Order detail | Line items, status, customer |
/e-commerce/products/[id] |
Product detail | SKU, pricing, stock toggle |
/marketing |
Marketing | Campaign hub overview |
/marketing/campaigns/[id] |
Campaign detail | Campaign metrics and settings |
/marketing/segments |
Segments | Audience filters and segment builder |
/marketing/forms |
Forms | Lead-capture form management |
| Route | Page | Description |
|---|---|---|
/tasks |
Tasks | Kanban board with drag-and-drop (@dnd-kit) |
/calendar |
Calendar | Scheduling and event views |
/email |
Inbox-style UI with reply and filters | |
/projects |
Projects | Project list with progress and date ranges |
/projects/[id] |
Project detail | Milestones, team, budget |
/files |
Files | File manager with folders |
/files/[id] |
File detail | Preview, metadata, sharing |
/support |
Support | Ticket queue |
/support/[id] |
Ticket detail | Thread, status, assignee |
| Route | Page | Description |
|---|---|---|
/products |
Products | SaaS product catalog and lifecycle |
/invoices |
Invoices | Invoice list, create modal, status charts |
/invoices/[id] |
Invoice detail | Line items, PDF download (demo) |
/payments |
Payments | Payment history and reconciliation |
/subscriptions |
Subscriptions | Active subscriptions overview |
/subscriptions/[id] |
Subscription detail | Plan, MRR, renewal |
/subscriptions/plans |
Subscription plans | Tier comparison and plan editor |
| Route | Page | Description |
|---|---|---|
/integrations |
Integrations | Third-party app connections |
/webhooks |
Webhooks | Endpoint management and test triggers |
/api-keys |
API keys | Key issuance and revocation |
/cms |
CMS | Blog and newsletter content hub |
/cms/blogs/[id] |
Blog editor | Rich blog post detail |
/cms/newsletter/[id] |
Newsletter detail | Newsletter issue editor |
/api-logs |
API logs | Request/response log viewer |
/agent-ops |
Agent Ops | AI agent run history, token costs, prompts, webhooks |
/saas-dashboard |
SaaS Dashboard | Org workspace, billing, AI metering, primitives |
| Route | Page | Description |
|---|---|---|
/login |
Login | Email/password sign-in |
/signup |
Sign up | Registration flow |
/forgot-password |
Forgot password | Reset request |
/change-password |
Change password | Password update |
/ui-components |
UI showcase | shadcn component gallery |
| Route | Page | Description |
|---|---|---|
/teams |
Teams | Team members and invites |
/users |
Users | User administration |
/roles |
Roles | RBAC role definitions |
/audit-log |
Audit log | Security and change history |
/notifications |
Notifications | In-app notification center |
/help |
Help | Help center and docs links |
/settings |
Settings | Account and app preferences |
/about |
About | In-app docs, tech stack, purchase links |
Total: 50+ top-level routes and 15+ dynamic detail pages — 60+ screens overall.
Configured via components.json with mist base color, CSS variables, and Lucide icons. Pre-built primitives:
Extend with npx shadcn@latest add <component> using the existing aliases.
Live panel to tweak the entire app without touching CSS:
Settings persist via ThemeCustomizerContext.
Press ⌘K (or Ctrl+K) to search every sidebar route plus nested extras (marketing segments, subscription plans, e-commerce orders). Navigation is driven from a single navConfig.js source of truth.
Floating copilot panel with:
Wire your own LLM endpoint when ready — the UI shell is complete.
Purpose-built for AI-native SaaS products:
Multi-tenant SaaS operator view:
Recharts-powered visualizations across Dashboard, Analytics, Sales, Invoices, E-commerce, and Agent Ops:
Tasks and pipeline modules use @dnd-kit for sortable columns and cards — no extra UI library needed.
Eight locale files under locales/ (EN, ES, FR, DE, IT, JA, ZH, HI) with react-i18next. AutoTranslate component for quick multi-language demos.
| Layer | Location | Purpose |
|---|---|---|
| Zod schemas | schemas/ |
Validate API payloads, generate fixtures |
| data.json | Root | Read-only shape reference per route |
| Prisma schema | schemas/sql-schemas/schema.prisma |
PostgreSQL reference model |
| Drizzle schema | schemas/sql-schemas/drizzle/schema.ts |
Alternative ORM tables |
| Firestore / Supabase docs | schemas/firestore-schemas/, schemas/supabase-schemas/ |
NoSQL reference |
Run npm run verify:schemas to validate data.json against Zod definitions.
Standalone landing at / (configurable) with:
/api/send-leadDesign.md documents colors, typography, elevation, component recipes, and a new module checklist — ideal for designers and AI coding agents (Cursor, Copilot).
| Technology | Version | Role |
|---|---|---|
| Next.js | 12.0.0 (Pages Router) | Routing, SSR, API routes |
| React | ^17.0.0 | UI framework |
| Tailwind CSS | ^3.4.17 | Utility-first styling |
| shadcn/ui | default / mist | Accessible component primitives |
| Radix UI | ^1.x – ^2.x | Headless primitives (dialog, select, dropdown, etc.) |
| Lucide React | ^0.474.0 | Icon set |
| Recharts | ^2.15.1 | Charts and analytics |
| Framer Motion | ^6.5.1 | Page transitions and micro-interactions |
| GSAP | ^3.12.7 | Advanced animation hooks |
| @tanstack/react-table | ^8.21.3 | Headless data tables |
| @dnd-kit | ^6–10 | Drag-and-drop kanban |
| Zod | ^3.25.76 | Runtime schema validation |
| Drizzle ORM | ^0.45.2 | SQL schema reference |
| i18next / react-i18next | ^26 / ^17 | Internationalization |
| Sonner | ^1.7.4 | Toast notifications |
| class-variance-authority | ^0.7.1 | Component variants |
| tailwind-merge / clsx | Latest | Class name utilities |
| Nodemailer | ^8.0.7 | Lead form email (API route) |
| @vercel/analytics | ^0.1.11 | Optional analytics |
Requirements: Node.js ≥ 18, npm ≥ 9
crm-saas/
├── app/ # Page components (business logic)
│ ├── Home/ # Dashboard
│ ├── Leads/, Deals/, Contacts/, Companies/
│ ├── Analytics/, Reports/, Activity/
│ ├── AgentOps/ # AI agent operations
│ ├── SaasDashboard/ # Multi-tenant SaaS admin
│ ├── ECommerce/, Marketing/, Subscriptions/
│ ├── Authentication/ # Login, signup, password flows
│ └── index.jsx # Barrel exports
├── pages/ # Next.js file-based routes
├── modules/ # Shell: Layout, Navbar, Sidebar, ThemeCustomizer
├── components/ui/ # shadcn/ui primitives
├── schemas/ # Zod + SQL reference schemas
├── locales/ # i18n JSON files
├── lib/ # Utilities (utils, chart colors, form helpers)
├── utils/ # Theme, useTheme, ThemeCustomizerContext
├── modules/navConfig.js # Single source of truth for navigation
├── Design.md # Design system for humans & AI agents
├── data.json # Demo data shape reference
└── globals.css # CSS variables, shadcn tokens
Architecture flow:
User → pages/*.js → app/*/index.jsx → (future) lib/api/*.js → Your backend
↘ modules/Layout (Sidebar + Navbar + AI panel)
Both checkout options include the same source ZIP and lifetime updates. Choose the channel that fits your location and payment method.
| Currency | Price | Checkout | Payment methods |
|---|---|---|---|
| USD | $49 (suggested; pay-what-you-want from $49) | Gumroad | Card, PayPal |
| INR | ₹920 minimum (pay-what-you-want; suggested ~₹4,600 at USD parity) | Dodo Payments | UPI, cards, net banking |
| Option | Price | Notes |
|---|---|---|
| Template + Figma | $79 (+$30 on Gumroad) | Figma component kit; request access via purchase receipt email |
| Figma via INR checkout | Included via link | Dodo listing includes Figma designs via shared link |
| Item | Typical cost if built custom | This template |
|---|---|---|
| UI/UX design (60+ screens) | $3,000 – $8,000 | Included |
| Frontend development | 80–120 hours (~$4,000 – $12,000) | Included |
| Chart & table components | $500 – $1,500 | Included |
| Auth & settings flows | $800 – $2,000 | Included |
| Your investment | — | $49 / ₹920+ |
Need multi-seat or white-label rights for a team? Email shreyvijayvargiya26@gmail.com for team license quotes.
npm install
npm run dev
Open http://localhost:3002 (default port 3002).
npm run build
npm run verify:schemas
Create .env.local when connecting a backend:
NEXT_PUBLIC_API_BASE_URL=https://your-api.com/api
NEXT_PUBLIC_API_VERSION=v1
NEXT_PUBLIC_API_KEY=your-api-key
utils/theme.js and globals.css CSS variables.modules/navConfig.js; sidebar and CMD+K search update automatically.app/*/ module with API calls.app/NewPage/index.jsx → export in app/index.jsx → pages/new-page.js.components.json aliases.See Design.md for copy-paste component recipes and the new-module checklist.
This is a frontend template. Demo data is in-module; no database is required to run the demo.
Supported backends (bring your own):
Integration steps:
lib/api/config.js and lib/api/client.js (patterns in readme.md).lib/api/leads.js, etc.).useState seed data with useEffect + API calls.schemas/.Required REST endpoints are documented in readme.md (Leads, Contacts, Companies, Invoices, Tasks, Sales, API Keys, Webhooks, Integrations, Settings).
| Item | Detail |
|---|---|
| License | MIT — commercial use allowed |
| Updates | Lifetime template updates |
| Support | 6 months priority email support |
| Figma | Request via shreyvijayvargiya26@gmail.com after purchase |
| Contact | Email · X @treyvijay · gettemplate.website |
| Blog | ihatereading.in |
No. The codebase is JavaScript for maximum accessibility. TypeScript migration is straightforward if you prefer types.
No. You get a complete frontend with mock data, Zod contracts, and SQL reference schemas. Connect any API you choose.
Yes. The MIT license allows commercial and client work. For multi-seat agency licenses, contact the author.
This repo runs Next.js 12 (Pages Router). A Next.js 14 variant is listed on Gumroad as "Available Version 2" — check the product page for upgrade options.
After purchase, email the receipt to shreyvijayvargiya26@gmail.com or use the Figma link included in the Dodo / Gumroad download.
The AI sidebar is an end-user copilot panel inside the CRM shell. Agent Ops is an operator dashboard for monitoring agent runs, costs, prompts, and webhooks — aimed at teams building AI features.
Gumroad (USD) is optimized for international buyers. Dodo (INR) supports UPI and Indian payment methods with a lower minimum for domestic buyers.
Digital products are generally non-refundable after download. Contact support if you have access issues — we're happy to help.
The Shadcn Admin CRM Template for Next.js is the fastest path from idea to a credible SaaS CRM demo:
→ Get the template on Gumroad (USD)
→ Get the template on Dodo (INR)
→ View live demo
Built by Shrey Vijayvargiya · CRM SaaS Template v1.0.0