Shadcn Templates
nextjs

Next.js SaaS Starter

The official Next.js SaaS starter from the Next.js team, with Postgres, Drizzle, Stripe and shadcn/ui, plus auth, teams and a dashboard.

16.2k
GitHub stars
Free
Price
Dec 11, 2025
Updated
Next.js SaaS Starter screenshotOpen Next.js SaaS Starter

Overview

Next.js SaaS Starter is the official SaaS template from the Next.js team. It gives you a working subscription app out of the box: a marketing landing page, a pricing page connected to Stripe Checkout, email and password authentication, and a dashboard where signed-in users manage their team.

It is intentionally small. The stack is Next.js, Postgres, Drizzle ORM, Stripe and shadcn/ui, with no extra services to configure, so it works well as a clean starting point you extend yourself. It is MIT licensed.

Features

  • Landing and pricing pages: Marketing page with an animated terminal and a Stripe Checkout pricing page
  • Authentication: Email and password with JWTs stored in cookies
  • Teams and roles: Basic RBAC with Owner and Member roles
  • Subscriptions: Billing managed through the Stripe Customer Portal
  • Dashboard: CRUD pages for users and teams
  • Protected routes: Global middleware for signed-in pages, plus validation for Server Actions with Zod
  • Activity log: Records user events

Tech stack

  • Next.js
  • Postgres with Drizzle ORM
  • Stripe
  • shadcn/ui and Tailwind CSS

Similar listings

All Boilerplates