A modern React starter template built with Vite, TypeScript, Tailwind CSS, and shadcn/ui components.
- ⚡️ Vite - Fast build tool and development server
- ⚛️ React 18 - Latest React with hooks support
- 🎯 TypeScript - Type safety and better developer experience
- 🎨 Tailwind CSS - Utility-first CSS framework
- 🧩 shadcn/ui - Beautifully designed components built with Radix UI
- 📦 Path Mapping - Clean imports with
@/prefix
- Button
- Card
- Input
- Label
- Badge
- Dialog
- And more...
-
Install dependencies
npm install
-
Start development server
npm run dev
-
Build for production
npm run build
-
Preview production build
npm run preview
src/
├── components/
│ └── ui/ # shadcn/ui components
├── lib/
│ └── utils.ts # Utility functions
├── App.tsx # Main application component
├── index.css # Global styles with Tailwind
└── main.tsx # Application entry point
This template is pre-configured with shadcn/ui. You can add more components by creating them in the src/components/ui/ directory.
The Tailwind configuration is set up with shadcn/ui color variables. You can customize colors and other design tokens in:
tailwind.config.js- Tailwind configurationsrc/index.css- CSS custom properties for themes
Path mapping is configured for clean imports:
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";The template includes dark mode support through Tailwind's dark: classes and CSS custom properties.
Feel free to submit issues and enhancement requests!