A React starter template based on Atomic Design principles with:
- React (JavaScript)
- Vite as the build tool
- Tailwind CSS for styling
- Folder structure following Atomic Design (atoms, molecules, organisms, templates, pages)
- Well-organized component structure following Atomic Design
- Tailwind CSS setup with PostCSS and Autoprefixer
- Fast development server and build with Vite
- Basic example components to get started quickly
- Node.js (v16+ recommended)
- npm or yarn
-
Clone The Repo
git clone https://github.com/AriqF1/template-react-atomic.git cd react-atomic-starter-js
-
Install Dependencies
npm install
-
Run Development Server
npm run dev
src/
├── assets/ # Static files like images, icons
├── components/ # UI components (atoms, molecules, organisms)
│ ├── atoms/
│ ├── molecules/
│ └── organisms/
├── pages/ # Application pages
├── styles/ # Global styles / utilities (Tailwind config in root)
├── App.jsx
└── main.jsx
Command | Description |
---|---|
npm install |
Install dependencies |
npm run dev |
Start development server |
npm run build |
Build for production |
npm run preview |
Preview production build |