Next With Tailwind is a Next.js + TypeScript boilerplate that bundles Tailwind CSS and a pre-configured development toolchain into a single GitHub starter template. Created by Putra Maghfirah, this opinionated template aims to remove the repetitive setup work when starting a new project.
What is Next With Tailwind?
Next With Tailwind is an open-source starter template for building Next.js applications with TypeScript and Tailwind CSS. It takes a fresh clone of the repository as its input and produces a development environment with linting, formatting, testing, and styling already configured. The project runs on Next.js and can be started locally with yarn run dev or npm run dev, then viewed at http://localhost:3000. The repository is named next-with-tailwind and includes a deploy button for Vercel.
Key Features
The template ships with nine pre-configured tools and libraries that you would otherwise have to set up by hand. These are:
- Tailwind CSS — Utility-first CSS framework for styling components without leaving your JSX.
- TypeScript — Static type checking included from the start.
- ESLint — Pluggable JavaScript linter to catch errors and enforce code quality.
- Prettier — Opinionated code formatter that keeps code style consistent.
- Husky — Git hooks, so checks can run before commits.
- Absolute imports — Import folders and files using the
@prefix instead of relative paths. - Jest + react-testing-library — Testing setup for unit and component tests.
- NProgress — Slim progress bars for page transitions.
- Heroicons — Beautiful icons by the makers of Tailwind CSS.
Who is it for?
This starter is aimed at developers who want a quick, consistent foundation for a Next.js project. Typical users include:
- Frontend developers who want to skip repetitive configuration of Tailwind, ESLint, Prettier, and Jest.
- TypeScript users who prefer a statically typed codebase from the first commit.
- Hackathon participants who need a working Next.js setup with tests and linting already in place.
- Developers new to Next.js who want to learn the framework using a fully configured starter.
What can you do with Next With Tailwind?
The boilerplate supports a range of common web projects. Practical uses are:
- Build a marketing site — Create landing pages, portfolios, or business sites using Next.js pages and Tailwind classes.
- Set up a component library — Organize and reuse UI components with absolute imports and Heroicons.
- Test server-side rendering — Next.js data fetching methods work out of the box, so you can experiment with SSR and static generation.
- Create a full application — Use the pre-built tooling as a foundation for larger projects that need tests and linting.
How does Next With Tailwind work?
Clone the repository from GitHub, rename the folder to your project name, and install dependencies with either Yarn (yarn) or npm (npm install). Start the development server with yarn run dev or npm run dev, and the app is served at http://localhost:3000. For production, the README points to Vercel for one-click deployment.
FAQ
Which CSS framework is included?
Tailwind CSS is the only CSS framework provided in this boilerplate. The template does not include other styling solutions like styled-components or Bootstrap.
What testing tools are configured?
The template uses Jest together with react-testing-library, giving you a ready-to-run test environment for components and utilities.
Can I use npm instead of Yarn?
Yes, the getting-started instructions show both npm install and yarn commands, as well as the corresponding dev server scripts.
Do I have to pay to use this template?
No, the repository is a public starter on GitHub written by Putra Maghfirah. You can clone, modify, and use it for your own projects without charge.
How do I deploy a project built with this template?
The README includes links to Vercel and the official Next.js deployment documentation. Since it is a Next.js app, it can also be deployed to any Node.js-compatible hosting platform.





