A modern, responsive Astro template with Tailwind CSS and Alpine.js integration. This template provides a solid foundation for building fast, SEO-friendly websites with a clean design system.
- Astro - The web framework for content-driven websites
- Tailwind CSS - Utility-first CSS framework
- Alpine.js - Lightweight JavaScript framework for interactivity
- Responsive design system with custom color palette
- Dark mode support
- Smooth page transitions
- Performance optimized
- SEO-friendly
/
├── public/ # Static assets
│ └── favicon.svg
├── src/
│ ├── assets/ # Images and other assets
│ ├── components/ # Reusable UI components
│ ├── layouts/ # Page layouts
│ ├── pages/ # Page routes
│ ├── scripts/ # JavaScript utilities
│ └── styles/ # Global styles
│ ├── global.css
│ └── transitions.css
├── astro.config.mjs # Astro configuration
├── tailwind.config.mjs # Tailwind CSS configuration
└── package.json # Project dependencies
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add , astro check |
npm run astro -- --help |
Get help using the Astro CLI |
The template includes a custom color palette defined in tailwind.config.mjs
:
- Primary: Purple-based color scheme
- Secondary: Slate-based color scheme
- Accent: Lime-based color scheme
- Warning: Yellow-based color scheme
You can customize these colors by editing the tailwind.config.mjs
file.
The template uses the following font families:
- Sans: Inter (with system fallbacks)
- Display: Lexend (with system fallbacks)
Custom animations are included:
- Fade In
- Slide Up
- Slide Down
- Clone this repository
- Install dependencies with
npm install
orpnpm install
- Start the development server with
npm run dev
orpnpm dev
- Visit
http://localhost:4321
to see your site
MIT