SvelteForge Premium — SvelteKit Multi-Tenant SaaS Dashboard
SvelteForge Premium — SvelteKit Multi-Tenant SaaS Dashboard
Price range: $69.00 through $349.00
A production-ready SvelteKit 2 + Svelte 5 multi-tenant SaaS admin dashboard with billing (Stripe & Polar), CRM, helpdesk, invoicing, e-commerce, kanban, calendar, mail, AI chat, status pages, webhooks, REST API, and 30+ other modules — type-checked, tested, and seedable on day one. Built with Tailwind CSS 4, Drizzle ORM, custom session auth, MFA + passkeys, and S3-compatible storage.
Description
SvelteForge Premium — Production-Ready Multi-Tenant SaaS Dashboard for SvelteKit
A production-ready, multi-tenant SaaS admin template built with SvelteKit 2, Svelte 5, Tailwind CSS 4, and Drizzle ORM. Ships with billing (Stripe & Polar), workspaces & RBAC, helpdesk, CRM, invoicing, e-commerce, kanban, calendar, mail, AI chat, status pages, webhooks, REST API, and 30+ other modules — wired together, type-checked, and seedable on day one.
Why SvelteForge Premium?
- 49 production-ready database tables across 13 capability areas — multi-tenant from row zero, every premium table org-scoped with cascade-on-delete
- 59 server modules covering billing, mail, chat, AI, storage, MFA, passkeys, webhooks, audit, scheduled reports, and more — each typed, tested, and side-effect-free at the boundary
- Custom session auth + Argon2id + WebAuthn + TOTP — no JWT, no external auth dependency, MFA gate built in
- Demo seeder that fills every premium table — one command (
pnpm db:seed-premium) populates an Acme workspace with 12 members, 24 contacts, 22 invoices, 18 deals, 12 tickets, kanban with 12 cards, and 30 tenant orgs so the SaaS Analytics dashboard lights up immediately
Multi-Tenancy & Access Control
- Organizations with members, custom roles, invitations, and a workspace switcher
- Permissions catalogue — system roles + custom permission sets
- Impersonation — owners step into a member’s seat with a warning banner and one-click exit
- Workspace-scoped everything — every premium table carries organizationId with onDelete: cascade
Auth, MFA & Passkeys
- TOTP and WebAuthn passkey enrollment with backup recovery codes
- Magic-link sign-in — email-based one-time tokens
- Session-level MFA gate with bypass paths for impersonation
- Account lockout on repeated MFA failure
Billing — Stripe AND Polar
- Two billing adapters behind one provider abstraction — pick via
BILLING_PROVIDERenv - Stripe (Phase 1): Checkout, customer portal, plan upgrades/downgrades, pause/resume, webhook idempotency
- Polar (alternative): hosted checkout, signed webhooks, same shape as Stripe
- Per-org subscription status, plan tiers (free / starter / pro / enterprise), and trial windows
- Recurring invoice schedules + PDF rendering via pdfkit (no external Chrome process)
- Stripe-secured invoice payment from the customer portal
- Per-org usage metering with quota dashboards and upgrade CTAs
Communication Apps
- Inbox — Multi-folder mail client with threads, labels, snooze, scheduled send with an undo window, drag-to-fold, and full keyboard control
- Team Chat — Real-time team chat via Server-Sent Events with presence, typing indicators, mentions, and reactions
- Comments — Generic threaded comments component drop-in for invoices, deals, tickets, projects, or any entity
- Notifications — In-app, browser-push, and Slack/Discord webhook fan-out
- Email with adapters for Resend, Cloudflare Email Sending, and console (dev). Provider-abstracted; templates are typed.
CRM & Sales
- Contacts directory with custom fields per workspace
- Deals pipeline with drag-to-stage Kanban
- CSV import wizard with field mapping and validation preview
- Referral codes + attribution + commission accrual
Helpdesk
- Ticket queue with priority, category, status, assignee, and SLA stamps
- Threaded replies — staff vs. requester — and internal notes visible only to staff
- Email-in wiring guides for catch-all addresses or per-workspace mailboxes
E-commerce
- Products with SKU, inventory, and category
- Orders with line-item snapshots, tracking numbers, and lifecycle (pending → paid → shipped → delivered)
- Money in integer minor units — no floats, formatting helpers at the edge
Invoicing
- Invoice CRUD with line-item editor, tax rate (basis points), multi-currency
- Auto-numbered (INV-YYYY-NNNN) per workspace with collision-safe sequence stamps
- Recurring schedules with cron-based materialization and optional auto-send
- Customer portal — magic-link auth scoped to a customer record, no user account needed
- PDF generation via pdfkit, in-process
Project Work
- Projects with timelines, owners, and progress (Gantt-style timeline view)
- Project tasks separate from kanban (status + priority + due date + assignee)
- Kanban boards with drag-drop columns and cards, per-card colors, due-date warnings
- Calendar with month-grid event view and color tagging
Knowledge & Files
- Notes / Wiki — workspace-shared markdown with folders, pinning, and a denormalised preview for fast list render
- Files — S3-compatible storage (AWS S3, Cloudflare R2, MinIO, Backblaze B2) with presigned upload/download
AI Assistant
- Streaming chat backed by Anthropic Claude with prompt-caching pinned per conversation
- Tool-use bridge so the assistant can read app data (org members, recent invoices, etc.) safely
- Per-conversation model pinning so flipping ANTHROPIC_MODEL mid-flight doesn’t break in-progress chats
Public-Facing Surfaces
- Status page — services + incidents + scheduled maintenance + double-opt-in subscriber emails
- Forms builder — drag-drop with conditional logic, public submit endpoint, per-IP rate limiting
- Customer portal — invoice viewing and Stripe-secured payment for external clients
- Marketing pages — about, FAQ, contact, changelog, API reference, pattern showcase, coming-soon, maintenance
Audit, Governance & Extensibility
- Audit log with saved-filter chips and CSV export
- API keys with prefix + hashed storage, scopes, IP allowlists, and per-key rate limits
- Outgoing webhooks with HMAC-SHA256 signing, event-pattern matching, exponential-backoff retries, delivery history viewer
- Scheduled reports — recurring CSV-by-email exports
- Cron suite — six recurring endpoints under bearer-token auth
- REST API — /api/v1 with OpenAPI 3.1 spec + Postman collection
UX Building Blocks
- Form wizard, data table, CSV importer, product tour, theme customizer, and a customizable My Dashboard with drag-reorder widget grid
- Onboarding wizard at first login
- Browser notifications opt-in helper
Documentation
- 16-page developer reference at
/docs(auth, DB, routing, components, theming, deployment, testing) - 30+ user guide chapters at
/guidecovering every premium module — workspaces, billing, MFA, AI, public API, CRM, helpdesk, invoicing, status pages, audit log, and more - Both fully editable, brandable, and SEO-indexable as SvelteKit routes
Tech Stack
| Framework | SvelteKit 2.59 + Svelte 5 (runes API) |
| Language | TypeScript 6 |
| Styling | Tailwind CSS 4 (OKLCH) + shadcn-svelte + tw-animate-css |
| Database | SQLite via Drizzle ORM + better-sqlite3 (WAL mode) |
| Auth | Custom sessions (@oslojs/crypto) + Argon2id (@node-rs/argon2) + Arctic OAuth |
| MFA | TOTP (@oslojs/otp) + WebAuthn (@simplewebauthn) |
| Billing | Stripe SDK + Polar SDK (env-switched) |
| AI | Anthropic SDK (Claude) with prompt caching |
| Resend + Cloudflare Email Sending + console adapter | |
| Storage | AWS SDK v3 — S3 / R2 / MinIO / B2 |
| Charts | LayerChart 2 (D3-based) |
| pdfkit (in-process, no external browser) | |
| Editor | Tiptap 3 |
| Testing | Vitest + Playwright (17 test suites) |
| Build | Vite 8 + @sveltejs/adapter-node |
Additional information
| License Type | Personal License, Developer License, Lifetime Developer License |
|---|


