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, and TypeScript.
The Next.js & HeroUI Template is a GitHub boilerplate that scaffolds a Next.js 16 application using the pages directory, pre-configured with HeroUI v3 components and Tailwind CSS v4 for styling.
The Next.js & HeroUI Template is a boilerplate for creating Next.js 16 applications using the pages directory, pre-configured with HeroUI v3 components and Tailwind CSS for styling. You give it a GitHub repository URL via create-next-app, and it produces a local project with dependencies and configuration ready to run. It is made by heroui-inc, the team behind HeroUI, and is released under the MIT license.
The template is for developers who want to start a Next.js project on the pages router with HeroUI v3 and Tailwind CSS already integrated. It suits teams that still rely on the pages directory, developers evaluating HeroUI v3 as a component library, and prototypers who want a preconfigured environment to speed up initial development.
npx create-next-app -e https://github.com/heroui-inc/next-pages-template to get a working Next.js 16 project with HeroUI and Tailwind configured, no manual wiring needed.The template works as a Git remote that create-next-app clones via the -e flag. After running the command, install dependencies with a package manager like npm install, then start the development server with npm run dev. The template includes the necessary configuration files for Tailwind, TypeScript, and next-themes, so the project is immediately runnable.
The template is free to use because it is released under the MIT license. You can download the source code from GitHub and inspect the LICENSE file for the full terms.
Yes, the template is open source and licensed under the MIT license, so you can use it in commercial projects without restrictions (subject to MIT terms). No payment or account is required.
It uses Next.js 16 with the pages directory, HeroUI v3, Tailwind CSS v4, Tailwind Variants, TypeScript, and next-themes. The README lists Tailwind CSS without a version, but the repository metadata specifies v4.
Run npx create-next-app -e https://github.com/heroui-inc/next-pages-template in your terminal, then install dependencies (for example npm install) and start the dev server with npm run dev.
It uses the Pages Router (the pages directory). The README notes that since Next.js 15, the Pages Router is not recommended for new projects and suggests migrating to the App Router to take advantage of React's latest features.
