A blazing-fast, modern, and highly customizable starter template for building React applications with Vite, Tailwindcss, React Router, and Typescript. This project is designed to kickstart your development process with the best tools and practices, ensuring a smooth and efficient workflow.
- β‘
Vite
: Lightning-fast build tool and development server. - π¨
Tailwindcss
: Utility-first CSS framework for rapid UI development. (v4) - π
React Router
: Seamless client-side routing for single-page applications. - π
Typescript
: A statically typed language that helps in building robust, maintainable JavaScript applications. - π§©
SWC Support
: Faster builds and hot module replacement with @vitejs/plugin-react-swc. - π§Ή
Prettier & ESLint
: Clean, consistent, and error-free code with integrated formatting and linting. - πΆ
Husky
: Git hooks for pre-commit linting and formatting. - π¦
Optimized Imports
: Path aliases for cleaner imports (e.g., @/components/Button). - π
i18n (react-i18next)
: Built-in internationalization support for multi-language applications. - π
class-variance-authority (cva)
: Powerful utility for managing Tailwind component variants dynamically. - π
Jotai
: Lightweight and flexible state management for React. - πΌοΈ
Lucide-react
: Beautifully designed icon library for modern UIs. - π’
UUID
: Unique ID generation for managing dynamic components.
- Fast Development: Get started instantly with a pre-configured setup.
- Modern Stack: Built with the latest tools and libraries.
- Customizable: Easily extend or modify to fit your project needs.
- Best Practices: Follows industry standards for code quality and performance.
- Frontend: React 18, React Router 7
- Styling: Tailwind CSS 3
- Build Tool: Vite 5
- State Management: Jotai
- Icons: Lucide React
- Unique ID Generation: UUID
- Linting: ESLint + Prettier
- Routing: React Router DOM
- Tooling: Husky, SWC, TypeScript
To use this template, follow these steps:
You can click on the top right corner that says use this template
After that you will be directed to create a new repository, name the repository according to your needs
You have successfully created a repository on github. Now you can clone or download it
After cloning the repository, run the following command to set up Husky:
pnpm install && pnpm prepare
This will set up the necessary Git hooks to ensure that committed code is always spun and well-formatted.
- Start editing pages in src/pages and customize the routes
- Add your own components in the src/components directory.
- Modify tailwind.config.js to customize your design system.
- Update vite.config.js for additional Vite plugins or configurations.
This project is open-source and available under the MIT License. Feel free to use, modify, and distribute it as you see fit.
Whether you're building a personal project, a startup MVP, or a large-scale application, this starter template has everything you need to hit the ground running. Star β the repo if you find it useful, and feel free to contribute or open issues for suggestions and improvements!
Get in touch with me: Pandhu Arya
Happy Hacking π€