π quickstart-react is an open-source CLI tool that lets you instantly create a Vite + React app with your choice of CSS framework, optional packages, and pre-configured project structure β all in one command.
- Interactive Setup β prompts you for project name, CSS framework, and optional packages
- CSS Framework Support β Tailwind CSS, Bootstrap, or MUI (Material UI)
- Optional Packages β easily add Axios, React Icons, React Hook Form, Yup, Formik, and Moment.js
- Automatic Folder Structure β creates
components,pages,hooks,store,utils,assetsfolders - Boilerplate Ready β replaces default Vite boilerplate with a clean welcome page
- Axios Setup β pre-configured Axios instance if selected
- CSS Integration β automatically configures your chosen CSS framework with Vite
You donβt need to install it globally β run it instantly with npx:
npx quickstart-reactWhen you run npx quickstart-react, you will be prompted to:
- Enter Project Name β e.g.,
my-app - Choose CSS Framework β Tailwind, Bootstrap, or MUI
- Select Optional Packages β choose from a list of commonly used React libraries
Example run:
npx quickstart-react? Enter project name: my-portfolio
? Choose a CSS framework: Tailwind
? Select optional packages: Axios, React Icons
This will:
- Create a new Vite + React project in
my-portfolio/ - Install Tailwind CSS and configure it with Vite
- Install Axios and React Icons
- Create standard project folders
- Add a clean welcome screen
- Set up an Axios instance at
src/utils/axiosInstance.js
After running, your project will look like this:
my-app/
βββ src/
β βββ components/
β βββ pages/
β βββ hooks/
β βββ store/
β βββ utils/
β β βββ axiosInstance.js (if Axios selected)
β βββ assets/
β βββ App.jsx
β βββ index.css
β βββ main.jsx
βββ vite.config.js
βββ package.json
βββ README.md
- Installs
tailwindcss&@tailwindcss/vite - Updates
vite.config.jsto use Tailwind plugin - Sets up
index.csswith Tailwind directives - Removes unused default CSS files
- Installs
bootstrap - Imports Bootstrap CSS in
main.jsx - Removes unused default CSS files
- Installs
@mui/material,@emotion/react,@emotion/styled - Removes unused default CSS files
You can add these during setup:
- Axios β with a ready-to-use
axiosInstance.js - React Icons β icon library
- React Hook Form β form management
- Yup β schema validation
- Formik β form management
- Moment.js β date/time utilities
npx quickstart-react my-dashboardSelect Tailwind, Bootstrap, or MUI, add any packages, and start coding immediately
We welcome contributions! Follow these steps:
- Fork the repository
- Create a new branch:
git checkout -b feature-name - Commit your changes:
git commit -m "Added new feature" - Push to your branch:
git push origin feature-name - Open a Pull Request
Before submitting, please ensure:
- Your code follows project style guidelines
- You have tested your changes locally