Repolode
vercel

vercel/examples

A curated collection of Vercel example apps, solutions and starter templates showing patterns for building apps on Vercel, mostly with Next.js.

Stars
5,157
Forks
1,840
Open issues
283
Last commit
12 hours ago

What is it?

vercel/examples is a monorepo of example projects maintained by Vercel. It is split into two main areas: solutions, which contain demos, reference architectures and best practices, and starter, which contains functional applications meant to serve as a starting point for a new project.

Most examples are built with Next.js and TypeScript, and many show integrations such as edge middleware, serverless functions, and third-party services. Each example lives in its own folder with its own README, package.json and optional environment variable setup, so you can copy the one closest to your use case.

The repository also includes tooling for contributors, such as a plop-based generator for new examples and a pre-commit hook that runs Prettier and ESLint. Selected examples are featured on Vercel's template gallery.

Key features

  • 01Collection of Next.js and TypeScript example apps organized by topic
  • 02Separate solutions folder for demos and reference architectures
  • 03Starter applications that can be used as the base of a new project
  • 04Examples include setup instructions and environment variable templates
  • 05Generator script and pre-commit linting for contributors

Use cases

  • Finding a starting point for a Next.js project deployed on Vercel
  • Learning how to implement a specific pattern such as edge middleware or API routes
  • Copying a reference architecture for a monorepo or bot protection setup

Quick start

  1. 1

    Browse the example apps in the solutions and starter folders

  2. 2

    Install the repo's dependencies to contribute a new example

    pnpm i
  3. 3

    Generate a new example from the template

    pnpm new-example

Things to know

  • This is a collection of many separate examples, not a single app you can run as a whole.
  • Contributing new examples requires the pnpm toolchain and the repo's Prettier and ESLint pre-commit checks.

Topics

FAQ

What is examples?
A curated collection of Vercel example apps, solutions and starter templates showing patterns for building apps on Vercel, mostly with Next.js. vercel/examples is a monorepo of example projects maintained by Vercel. It is split into two main areas: solutions, which contain demos, reference architectures and best practices, and starter, which contains functional applications meant to serve as a starting point for a new project.
Is examples free to use? What license does it have?
examples is open source under the MIT license. Check the license terms before using it in commercial products.
Is examples still maintained?
Actively maintained. The last commit to examples was on Oct 21, 2026.
What can I use examples for?
Finding a starting point for a Next.js project deployed on Vercel Learning how to implement a specific pattern such as edge middleware or API routes Copying a reference architecture for a monorepo or bot protection setup
How do I install examples?
Browse the example apps in the solutions and starter folders Install the repo's dependencies to contribute a new example: pnpm i Generate a new example from the template: pnpm new-example
Where can I get examples?
The source code and installation instructions are on GitHub: https://github.com/vercel/examples

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects