Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Next.js 16 with app directory template pre-configured with HeroUI (v3) and Tailwind CSS (v4).

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
The Next.js & HeroUI Template is a boilerplate for creating React applications with the Next.js 16 app directory, pre-configured with HeroUI v3 components and Tailwind CSS v4 styling.
The Next.js & HeroUI Template is an official starter project from the HeroUI team (heroui-inc) that combines Next.js 16's App Router with the HeroUI v3 component library. It takes a fresh create-next-app setup and adds a pre-configured styling stack and utility dependencies, producing a TypeScript project with dark mode support ready for feature development. The template lives in the heroui-inc/next-app-template repository on GitHub and is licensed under the MIT license. You can also run it directly in CodeSandbox using the provided link.
The template is for developers who want to skip configuration and start coding immediately. React developers starting a new product or side project can use it to get a type-safe Next.js setup with a component library already wired up. Teams building multi-page applications will benefit from the App Router structure and the pre-configured styling utilities. It is also suitable for anyone wanting to learn how Next.js and HeroUI work together, since the source code serves as a reference implementation.
You start by creating a new project with npx create-next-app -e https://github.com/heroui-inc/next-app-template, which pulls the template into a new directory. After that, install dependencies with a package manager like npm (npm install) and run the development server with npm run dev. The resulting project includes the App Router pages and components already wired up, so you can edit and extend them.
Yes, the template is open source and licensed under the MIT license, so you can use it for personal and commercial projects, including modifying and redistributing it.
The template is built for Next.js 16 (with the app directory) and HeroUI v3. It also uses Tailwind CSS v4, Tailwind Variants, and next-themes.
The README recommends npm, yarn, pnpm, or bun. You can use any of these—for example, npm install after scaffolding.
Yes, via next-themes. The template includes integration for theme switching, which supports light and dark mode based on system preferences or manual toggles.
The repository is heroui-inc/next-app-template on GitHub. You can clone it directly or use it with create-next-app.
