An open source boilerplate built using Next.js 15.3, TypeScript, and Tailwind CSS
With this template, you get all the awesomeness you need:
@
prefixā
āāā 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
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 |