A modern, feature-rich starter template for building web applications using Astro, React, Tailwind CSS, and shadcn/ui components.
- ⚡️ Astro - The web framework for content-driven websites
- ⚛️ React - UI library for building user interfaces
- 🎨 Tailwind CSS - Utility-first CSS framework
- 🎯 shadcn/ui - Re-usable components built with Radix UI and Tailwind CSS
- 📱 Responsive design
- 🎨 Modern UI components
- 🔍 SEO optimized
- 📝 MDX support
- 🚀 Fast development with hot module replacement
- 🛠 TypeScript support
- 📦 Package management with pnpm
- 🎯 Code formatting with Prettier
- Framework: Astro 5.x
- UI Library: React 19.x
- Styling: Tailwind CSS 4.x
- Components: shadcn/ui
- Icons: Lucide React, Heroicons
- Package Manager: pnpm
- Language: TypeScript
- Node.js (Latest LTS version recommended)
- pnpm (Package manager)
-
Clone the repository:
git clone <repository-url> cd astro-react-tailwind4-shadcn-starter
-
Install dependencies:
pnpm install
-
Start the development server:
pnpm dev
-
Open http://localhost:4321 in your browser.
pnpm dev- Start development serverpnpm build- Build for productionpnpm preview- Preview production buildpnpm prettier- Format code with Prettier
├── src/
│ ├── components/ # React components
│ ├── layouts/ # Layout components
│ ├── pages/ # Astro pages
│ └── styles/ # Global styles
├── public/ # Static assets
├── astro.config.ts # Astro configuration
├── tailwind.config.js # Tailwind configuration
└── tsconfig.json # TypeScript configuration
- Modify
tailwind.config.jsto customize your theme - Update
astro.config.tsfor Astro-specific configurations - Add new components in the
src/componentsdirectory - Create new pages in the
src/pagesdirectory
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.