A CLI tool to quickly scaffold modern web applications with React, TypeScript, and Tailwind CSS
npm install create-webstack-appbash
npx create-webstack-app
`
Or with npm create:
`bash
npm create webstack-app
`
Or install globally:
`bash
npm install -g create-webstack-app
create-webstack-app
`
š¦ Available Templates
$3
Modern React application with the latest Tailwind CSS v4, featuring:
- ⨠TypeScript support
- šØ Tailwind CSS v4 with theme system (6 professional themes)
- š§© Pre-built UI components (Buttons, Cards, Inputs, Drawer, Carousel)
- š± Responsive layout with AppLayout system
- š Dark mode support
- ā” Vite for lightning-fast development
- š Comprehensive documentation
$3
Stable React application with Tailwind CSS v3:
- ⨠TypeScript
- šØ Tailwind CSS v3
- š§ Basic navigation components
- š Theme toggle (Light/Dark)
- ā” Vite
$3
Minimal React 19 setup with TypeScript:
- āļø React 19 (latest)
- ⨠TypeScript
- ā” Vite
- šÆ ESLint
š Usage
The CLI will guide you through an interactive setup:
1. Select a template - Choose from available templates
2. Enter project name - Name your project (or use current directory)
3. Confirm - If directory is not empty, confirm to proceed
`bash
Create in a new directory
npm create webstack-app
Follow prompts...
> Select template: react18-tailwind4
> Project name: my-awesome-app
Create in current directory
npm create webstack-app
Follow prompts...
> Select template: react18-tailwind4
> Project name: . (or leave blank)
`
šÆ After Creation
`bash
cd your-project-name
pnpm install # or npm install / yarn install
pnpm dev # or npm run dev / yarn dev
`
Your app will be running at http://localhost:5173
š Features
- Interactive CLI - Beautiful colored prompts using Inquirer and Chalk
- Smart Validation - Project name validation for cross-platform compatibility
- Safe Operations - Confirms before overwriting existing directories
- Fast Setup - Copies templates without node_modules for quick installation
- Multiple Templates - Choose the stack that fits your needs
š ļø Requirements
- Node.js >= 18.0.0
- npm >= 9.0.0 (or pnpm/yarn)
š Project Structure (react18-tailwind4)
`
your-project/
āāā src/
ā āāā components/ # Reusable UI components
ā ā āāā UI/ # Button, Card, Input, Drawer, etc.
ā āāā layout/ # AppLayout, TopNav, SideNav
ā āāā pages/ # Page components
ā āāā context/ # React contexts (theme)
ā āāā hooks/ # Custom hooks
ā āāā styles/ # CSS and theme files
ā ā āāā themes/ # Theme definitions
ā āāā utils/ # Utility functions
āāā docs/ # Comprehensive documentation
āāā public/ # Static assets
`
šØ Themes (react18-tailwind4)
The react18-tailwind4 template includes 6 professional themes:
- Ocean Light - Professional blue (default)
- Ocean Deep - Deep blue-gray dark mode
- Crystal Clear - Modern light with violet branding
- Cosmic - Deep space with purple accents
- Citrus White - Pure white with orange accents
- Midnight Pro - Ultimate dark mode
See THEME_CUSTOMIZATION.md for details.
š¤ Contributing
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new templates
- Improve documentation
- Submit pull requests
š License
MIT Ā© MaheshLee
š Links
- GitHub Repository
- Report Issues
- Documentation react18+tail4
š” Tips
- Use pnpm` for faster installs and better disk space usage