Free Next.js Templates, Checked for Licence and Upkeep
Good free Next.js templates include Next.js Commerce for shops, the SaaS Starter for subscription apps, the Tailwind Next.js Starter Blog for writing, and Payload's website template for marketing sites editors can change. All ten below are MIT licensed and were checked on GitHub for licence and recent activity. For landing pages and portfolios, combine our free sections.
| You are building | Start from |
|---|---|
| An online shop | Next.js Commerce |
| A subscription SaaS | SaaS Starter |
| A blog | Tailwind Next.js Starter Blog |
| A marketing site editors update | Payload website template |
| A landing page or portfolio | Our hero, pricing and dashboard sections |
Updated
We only list templates with a clear open-source licence that were not archived when we checked. Search results for Next.js templates mix in paid themes and abandoned repositories; this list is the free, maintained ones, grouped by what you are building.
Need a landing page section instead? Browse our free UI components.
Templates by kind
- Next.js Commerce (Ecommerce, github.com/vercel/commerce): A fast storefront you connect to a commerce backend; Shopify is the default.
- Payload ecommerce template (Ecommerce, github.com/payloadcms/payload): Products, carts and checkout with an admin panel in the same app.
- SaaS Starter (SaaS, github.com/nextjs/saas-starter): Logins, teams, a pricing page and Stripe subscriptions, kept deliberately small.
- Next.js Boilerplate (SaaS / app, github.com/ixartz/Next-js-Boilerplate): Heavier on tooling: tests, linting, Storybook and error monitoring set up for you.
- Taxonomy (App, github.com/shadcn-ui/taxonomy): An example app built when the App Router was new; good to read, check versions before reusing.
- Tailwind Next.js Starter Blog (Blog, github.com/timlrx/tailwind-nextjs-starter-blog): A complete writing setup: tags, search, RSS and several layouts.
- Blog Starter (Blog, github.com/vercel/next.js): The simplest blog: Markdown posts in a folder, statically generated.
- Payload website template (Marketing site + CMS, github.com/payloadcms/payload): Pages built from blocks that editors can rearrange in the admin panel.
- CMS examples (Marketing site + CMS, github.com/vercel/next.js): One small example per CMS, handy when you have already picked a CMS.
- Vercel examples (Patterns, github.com/vercel/examples): Focused examples of single techniques rather than whole sites.
The list
| Template | Kind | Repository | Stack |
|---|---|---|---|
| Next.js Commerce | Ecommerce | vercel/commerce | App Router, Shopify storefront API, Tailwind |
| Payload ecommerce template | Ecommerce | payloadcms/payload (templates/ecommerce) | Payload CMS inside Next.js, Stripe |
| SaaS Starter | SaaS | nextjs/saas-starter | Postgres, Drizzle, Stripe, shadcn/ui |
| Next.js Boilerplate | SaaS / app | ixartz/Next-js-Boilerplate | TypeScript, Tailwind 4, Drizzle, Vitest, Playwright |
| Taxonomy | App | shadcn-ui/taxonomy | App Router, Server Components, shadcn/ui |
| Tailwind Next.js Starter Blog | Blog | timlrx/tailwind-nextjs-starter-blog | MDX, Tailwind, search, tags |
| Blog Starter | Blog | vercel/next.js (examples/blog-starter) | Markdown files, Tailwind |
| Payload website template | Marketing site + CMS | payloadcms/payload (templates/website) | Payload CMS, layout builder, Next.js |
| CMS examples | Marketing site + CMS | vercel/next.js (examples/cms-*) | Next.js with Sanity, Contentful, Strapi, Storyblok and many more |
| Vercel examples | Patterns | vercel/examples | Edge middleware, auth, storage, and more |
Before you pick one
| Check | Why |
|---|---|
| Licence file says MIT, Apache or similar | No licence means you have no right to reuse the code |
| Last commit within the past year | Old templates may use outdated Next.js APIs |
| Next.js version in package.json | App Router (13.4+) and Pages Router templates are built very differently |
| Open issues about install or build errors | Shows whether it still runs today |
| Which paid services it needs | Some templates assume a specific database, auth or payment account |
Getting started
Start from any of them
create-next-app can start from an example in the Next.js repository or from any public GitHub repository.
# From the Next.js examples folder
npx create-next-app@latest my-blog --example blog-starter
# From a GitHub repository
npx create-next-app@latest my-shop --example https://github.com/vercel/commerce
# Payload templates
npx create-payload-app@latest -t website
Our own pieces
Alongside these templates, our free component gallery has React and Tailwind sections you can copy into a Next.js app: hero sections, pricing tables, dashboards, forms, tables, tabs and more. Each piece has its own page with the code.
How it works
- Pick the kind of site you are building.
- Open the repository and run the checks in the second table.
- Start a project from it with create-next-app.
- Replace the content, colours and services with your own.
Tips
- Templates are a starting point, not a finished site: budget time to replace demo content and copy.
- Delete features you will not use straight away; unused code still has to be maintained.
- Keep the template's licence file and notices in your project, as MIT requires.
- If you need a business website rather than an app, a website builder is quicker than adapting a developer template.
Frequently asked questions
Can I use these templates for client or commercial work?
Yes. The MIT licence allows commercial use, changes and redistribution, as long as you keep the copyright and licence notice in the code.
Where are landing page and portfolio templates?
Few free, maintained Next.js landing or portfolio templates have a clear licence. Our component gallery has copyable hero, pricing and dashboard sections in React and Tailwind you can drop into any Next.js page.
App Router or Pages Router template?
For new projects, the App Router. It supports Server Components and is where new Next.js features land. Older Pages Router templates still work but need more changes to modernise.
Does Vercel have an official template gallery?
Yes, vercel.com/templates lists many templates, including some from third parties. Check each one's licence; not all are open source.
Related: Tailwind pricing tables, App landing hero, Dashboard layouts, Website templates, How to build a web app.
Start for free or see all free tools. We.Inc is free to start, with no card needed. AI building is on paid plans from $20 a month.
More in Guides
- React vs Vue vs Svelte vs Astro vs Next.js, with the Same App
- Git Cheat Sheet, Grouped by What You Want to Do
- Git Rebase: Rebase vs Merge, Interactive Rebase and Undo
- How to Rename a Git Branch (Local and Remote)
- Git Worktree: Several Branches Checked Out at Once
- GitHub Personal Access Tokens for Git
- GitHub Webhooks: Create, Verify and Redeliver
- GitLab Webhooks: Setup, Verification and Failures
Product
Who It's For
- For Agencies
- For Freelancers
- For Hosting Providers
- For SaaS Platforms
- For Startups
- For Financial Services
- For Healthcare
Features
Resources
- Blog
- Help Center
- Free Business Tools
- Free UI Components
- Website Templates
- Template Collections
- Website Examples
- Guides
- Comparisons
- Alternatives
- Best Lists
- Reviews
- Pricing Guides
- Use Cases
- Glossary & Guides
- Integrations
- Developers
- Benchmark
- Windows App