nextjs-boilerplate Tailwind Templates

Nextjs Boilerplate

An open source boilerplate built using Next.js 14, TypeScript, and Tailwind CSS

Next.js Boilerplate

An open source boilerplate built using Next.js 15.3, TypeScript, and Tailwind CSS

Features

With this template, you get all the awesomeness you need:

Project structure

│
ā”œā”€ā”€ public                          # Public assets folder
ā”œā”€ā”€ src
│   ā”œā”€ā”€ app                         # Next JS App (App Router)
│   ā”œā”€ā”€ components                  # React components
│   │   ā”œā”€ā”€ shared                  # Header, footer, aside components
│   │   ā”œā”€ā”€ skeletons               # Loading components
│   │   ā”œā”€ā”€ ui                      # Atomic components
│   │   └── widgets                 # Advanced components
│   ā”œā”€ā”€ data                        # Static or mock data
│   ā”œā”€ā”€ helpers                     # Helper functions
│   ā”œā”€ā”€ hooks                       # React hooks
│   ā”œā”€ā”€ lib                         # Utilities and constants
│   ā”œā”€ā”€ providers                   # All providers
│   ā”œā”€ā”€ schemas                     # Zod schemas
│   ā”œā”€ā”€ services                    # API services
│   ā”œā”€ā”€ stores                      # Zustand stores
│   └── types                       # Type definitions
ā”œā”€ā”€ .gitignore                      # Git ignore file
ā”œā”€ā”€ .prettierrc                     # Prettier configuration
ā”œā”€ā”€ components.json                 # shadcn/ui configuration
ā”œā”€ā”€ next.config.mjs                  # Next.js configuration
ā”œā”€ā”€ postcss.config.js                # PostCSS configuration
ā”œā”€ā”€ README.md                       # README file
ā”œā”€ā”€ tailwind.config.js               # Tailwind CSS configuration
└── tsconfig.json                    # TypeScript configuration

File Naming Conventions

The project follows consistent file naming conventions:

File Type Example Style
Component LoginForm.tsx PascalCase
Hook useLogin.ts camelCase
Helper, Schema form-schema.ts kebab-case
Folder login-form/ kebab-case

Top categories

Loading Svelte Themes