Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Next.js 16 pages-directory template pre-configured with HeroUI v3, Tailwind CSS v4, TypeScript, and next-themes.

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
next-pages-template is an MIT-licensed boilerplate that scaffolds a Next.js 16 application using the pages directory, preconfigured with HeroUI v3 and Tailwind CSS v4. Maintained by the heroui-inc GitHub organization, it is a ready-made starting point for projects that want to avoid wiring together the framework, UI library, and styling layer by hand.
next-pages-template is a GitHub repository that serves as a starter for building Next.js 16 apps with the classic pages router. It bundles HeroUI v3 (formerly NextUI), Tailwind CSS v4, Tailwind Variants, TypeScript, and next-themes for dark mode, so the initial configuration is already done. To create a project from it, run npx create-next-app -e https://github.com/heroui-inc/next-pages-template; the output is a complete project with a documented npm run dev workflow. The repository metadata lists 96 stars, and the project is licensed under MIT.
npx create-next-app -e https://github.com/heroui-inc/next-pages-template creates a new project in a single step.npx create-next-app -e https://github.com/heroui-inc/next-pages-template; the result is a project preconfigured with HeroUI v3 and Tailwind v4.npx create-next-app -e https://github.com/heroui-inc/next-pages-template to scaffold a new project from the template.npm install (npm, yarn, pnpm, and bun are all supported).npm run dev and begin editing pages inside the pages directory.Yes, the source code is released under the MIT license, so you can use, modify, and distribute it freely, including in commercial projects.
It uses the pages directory. The repository's own note points out that since Next.js 15, the pages router is recommended to be migrated to the new App Router to leverage React's latest features.
Run npx create-next-app -e https://github.com/heroui-inc/next-pages-template, then install dependencies with a package manager such as npm, and run the development server with npm run dev.
The template targets Next.js 16 with HeroUI v3, Tailwind CSS v4, Tailwind Variants, TypeScript, and next-themes. It supports multiple package managers including npm, yarn, pnpm, and bun.
Yes, next-themes is included, which provides theme switching capabilities for light and dark modes in your Next.js app.
