A premium Next.js template for shipping your SaaS faster.
Better Auth on your own Postgres, Stripe and LemonSqueezy payments, Mailgun email, and a real dashboard. Production-ready code, end-to-end types, and the architecture most templates make you build yourself.
Free to start. No credit card required.
- Better Auth + magic links
- Stripe & LemonSqueezy
- 55+ components
Overview
Here's what's happening today
MRR
$12,480
+12.4%
Active users
3,214
+8.1%
Conversion
4.2%
-0.3%
Revenue
Last 12 monthsRecent activity
- 2m ago
New subscription
Acme Inc. · Premium
- 18m ago
Payment succeeded
Globex Corp · $29.00
- 1h ago
User signed up
example@email.com
- 55+
- components
- 24
- themes
- 2
- payment providers
- 10
- email templates
ready to copy & customize
light + dark, all CSS variables
Stripe + LemonSqueezy
branded via env vars
Features
The boring infrastructure, handled.
Every feature ships with real implementation, not a stub. Delete what you don't need; keep what you do.
Auth & sessions
Better Auth with email, magic links, and Google. Server-side session handling, protected routes, and a typed user model.
Stripe & LemonSqueezy
Unified checkout behind a single switch. Subscriptions, one-time payments, webhooks, and a billing portal that just works.
Postgres + Drizzle
Strict types from schema to query. Plain SQL migrations you can read, applied with one command.
Transactional email
Mailgun with DKIM, DMARC, and SPF. Welcome, password reset, payment, and subscription lifecycle templates included.
SEO baked in
Per-page metadata, OpenGraph, Twitter cards, sitemap, robots, and JSON-LD structured data on every public route.
Theme system
24 theme presets, light and dark, every value a CSS variable. Switch with a single prop — no rebuilds.
TypeScript strict
strict mode on, end-to-end. No `any` in the public surface, ESLint clean, every prop documented.
Hardened by default
Idempotent webhooks, signature verification, rate limiting, PII redaction, and an opt-in observability shim.
Built on Next.js 16, React 19, Tailwind 3, Radix UI, and TanStack Query 5.
Stack
Boring, deliberate choices.
Tools picked for stability and the developer experience. Nothing here is a fad.
- Frontend
- Next.js 16App Router, Turbopack, Server Actions
- React 19Server Components by default
- TypeScriptstrict mode with explicit integration boundaries
- Tailwind CSSCSS-variable tokens, no inline colors
- Radix UIHeadless primitives, fully accessible
- TanStack QueryServer-state cache, devtools in dev
- Backend
- Better AuthEmail/password, magic links, OAuth, sessions
- Drizzle ORMSchema → types → queries
- Next.js Route HandlersTyped, rate-limited, signed
- Payments
- StripeSubscriptions, portal, signed retry-safe webhooks
- LemonSqueezyAlternative provider behind the same plan API
- Infra
- MailgunTransactional email, delivery hooks, DNS checklist
- DockerDev + production compose files
- PostHog + SentryOpt-in shim, no SDK at install
Why developers pick it
Built for the part everyone dreads.
The integrations, the mistakes we've already made, the "oh, I forgot about that" problems — solved so you can focus on your product.
“Auth, checkout, emails, a dashboard — all wired and type-safe from day one. I deleted more placeholder code than I wrote.”
“The webhook handling is the part that impressed me. Signed, retry-safe, and idempotent — every provider nailed.”
“Swapped from Stripe to LemonSqueezy behind one environment flag. That single switch saved me a weekend of yak-shaving.”
FAQ
Questions, answered.
Start in minutes, ship in days.
Clone the repo, fill in your env, run the dev server. You'll have a working SaaS in front of you before the install finishes.