Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Next.js 16 app directory starter pre-configured with HeroUI v3, Tailwind CSS, and TypeScript.
Next.js & HeroUI Template is a boilerplate for building Next.js 16 applications with a pre-configured stack of HeroUI v3, Tailwind CSS, and TypeScript.
The template is a GitHub repository maintained by HeroUI Inc that supplies a ready-to-run Next.js project skeleton. It takes no input beyond scaffolding commands and produces a working application with the App Router structure, HeroUI component library, Tailwind styling, and theme switching already configured. It is designed to be used with the create-next-app CLI or opened directly on CodeSandbox.
app/ routing rather than pages/.next-themes package, so you can toggle themes effortlessly.package.json that works with all.npx create-next-app -e https://github.com/heroui-inc/next-app-template and get a structured project with routing, theming, and UI components ready.next-themes setup to offer light and dark modes to users, and adjust Tailwind theme variables as needed.The template works like a standard Next.js project. After scaffolding, you install dependencies with a command such as npm install, then run the development server with npm run dev. Next.js compiles the App Router, Tailwind processes utility classes, and HeroUI components render server-side or client-side as needed. You can also skip local installation entirely by opening the repository on CodeSandbox via the provided link.
Yes, the template is released under the MIT license, which grants permission to use, copy, modify, merge, publish, distribute, sublicense, and sell copies of the software.
The repository targets Next.js 16, HeroUI v3, Tailwind CSS (v4 per the repository description), Tailwind Variants, TypeScript, and next-themes. These are the versions configured in the template’s package and configuration files.
You can use npm, yarn, pnpm, or bun. For example, run npm install in the project directory after scaffolding. The template’s package.json is compatible with all four package managers.
Yes, the template includes a "Try it on CodeSandbox" link that opens the repository in a browser-based development environment, so you can run and modify it without local setup.
Yes, next-themes is included and pre-configured, so you can toggle between light and dark modes. The HeroUI components are designed to respond to the theme from the HTML class attribute.
