react-boilerplate Tailwind Templates

React Boilerplate

React Vite Tailwind starter

Boilerplate and Starter for React JS 18+, Material-UI, Tailwind CSS v3.3 and Typescript

šŸš€šŸš€šŸš€ Boilerplate and Starter for React.js, Material-UI, Tailwind CSS and TypeScript āš”ļø Made with developer experience first: React.js, TypeScript, Axios, ESLint, Prettier, Husky, Lint-Staged, VSCode, PostCSS, Tailwind CSS.

Clone this project and use it to create your own React.js project.

Features

  • ⚔ React.js
  • ⚔ Material-UI)
  • šŸ”„ Type checking TypeScript
  • šŸ’Ž Integrate with Tailwind CSS
  • āœ… Strict Mode for TypeScript and React 18
  • šŸ“ Linter with ESLint (default NextJS, NextJS Core Web Vitals, Tailwind CSS and Airbnb configuration)
  • šŸ’– Code Formatter with Prettier
  • 🦊 Husky for Git Hooks
  • 🚫 Lint-staged for running linters on Git staged files
  • šŸ—‚ VSCode configuration: Debug, Settings, Tasks and extension for PostCSS, ESLint, Prettier, TypeScript, Jest

Requirements

  • Node.js 16+ and pnpm

Getting started

Run the following command on your local environment:

git clone --depth=1 https://github.com/sonht113/react-boilerplate-for-starter.git
cd my-project-name
pnpm install

Then, you can run locally in development mode with live reload:

pnpm run dev

Open http://localhost:5173 with your favorite browser to see your project.

.
ā”œā”€ā”€ README.md                       # README file
ā”œā”€ā”€ .github                         # GitHub folder
ā”œā”€ā”€ .husky                          # Husky configuration
ā”œā”€ā”€ public                          # Public assets folder
ā”œā”€ā”€ src
│   ā”œā”€ā”€ apis                        # Common apis folder
│   ā”œā”€ā”€ components                  # Component folder
│   ā”œā”€ā”€ data                        # Data constants JS Pages
│   └── features                    # Features folder
│   ā”œā”€ā”€ hooks                       # Hooks customs folder
│   ā”œā”€ā”€ layout                      # Layout Pages
│   └── pages                       # React JS Pages
│   ā”œā”€ā”€ provider                    # Provider folder
│   └── routes                      # Routes folder
│   ā”œā”€ā”€ ts                          # Type and Enum folder
│   ā”œā”€ā”€ utils                       # Utility functions
ā”œā”€ā”€ tailwind.config.js              # Tailwind CSS configuration
└── tsconfig.json                   # TypeScript configuration

Customization

  • src/index.css: your CSS file using Tailwind CSS
  • src/main.tsx: default theme

You have access to the whole code source if you need further customization. The provided code is only example for you to start your project. The sky is the limit šŸš€.

Top categories

Loading Svelte Themes