A modern, beautiful Astro starter theme powered by Tailwind CSS. Perfect for building fast, responsive websites with exceptional performance and developer experience.
- ⚡ Lightning Fast: Built with Astro for optimal performance with zero JS by default
- 🎨 Beautiful Design: Modern UI components styled with Tailwind CSS v4
- 📱 Fully Responsive: Mobile-first design that looks perfect on all devices
- 🔧 Developer Friendly: TypeScript support, modern tooling, and clean code structure
- 🚀 SEO Optimized: Meta tags, semantic HTML, and performance-focused
- 🎯 Accessible: WCAG compliant with proper focus states and semantic markup
💡 Want more components? Check out 200+ premium landing page components and sections at TailKits UI - perfectly matching this template's design system and ready to copy & paste into your Astro project.
- Node.js 18+
- npm, yarn, or pnpm
-
Clone the repository
git clone https://github.com/yourusername/tailkits-astro.git cd tailkits-astro -
Install dependencies
npm install # or yarn install # or pnpm install
-
Start the development server
npm run dev # or yarn dev # or pnpm dev
-
Open your browser
Visit http://localhost:4321 to see your site running locally.
- Astro - The web framework for content-driven websites
- Tailwind CSS v4 - A utility-first CSS framework
- TypeScript - JavaScript with syntax for types
- Inter Font - Modern, clean typography
/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/ # Reusable UI components
│ │ ├── Banner.astro
│ │ ├── Cta.astro
│ │ ├── Feature.astro
│ │ ├── Footer.astro
│ │ ├── Hero.astro
│ │ ├── HowItWorks.astro
│ │ ├── LogoCloud.astro
│ │ ├── Navigation.astro
│ │ ├── Pricing.astro
│ │ ├── Stats.astro
│ │ └── Testimonials.astro
│ ├── layouts/ # Page layouts
│ │ └── BaseLayout.astro
│ ├── pages/ # File-based routing
│ │ └── index.astro
│ └── styles/ # Global styles
│ └── global.css
├── astro.config.mjs
├── tailwind.config.mjs
├── tsconfig.json
└── package.json
⚠️ Production Note: This template includes an optional “Made with Tailkits UI” badge in src/pages/index.astro for the demo. You may remove it for production
The theme is built with modular components that you can easily customize:
BaseLayout.astro- Main layout with HTML structure and meta tagsBanner.astro- Dismissible announcement bannerNavigation.astro- Header navigation with mobile menuHero.astro- Hero section with gradient text and CTA buttonsLogoCloud.astro- Company logos display sectionFeature.astro- Features showcase with benefits listStats.astro- Statistics display with large numbersCta.astro- Call-to-action sectionHowItWorks.astro- Process explanation sectionTestimonials.astro- Customer testimonials carouselPricing.astro- Pricing plans with feature comparisonFooter.astro- Footer with links and social media
The theme uses Tailwind's default blue color palette as the primary color. You can easily change this by:
- Updating component files to use different color classes (e.g.,
bg-green-600instead ofbg-blue-600) - Or add custom colors in
tailwind.config.mjs:
theme: {
extend: {
colors: {
primary: {
// Your custom color scale
50: '#eff6ff',
// ... rest of your colors
},
},
},
},The theme uses Inter font from Google Fonts. You can change this in:
src/layouts/BaseLayout.astro- Update the Google Fonts link in the SEO componenttailwind.config.mjs- Update the font family configurationsrc/styles/global.css- Update the body font-family
Custom component classes are defined in src/styles/global.css:
.container-custom- Responsive container with padding.btn-primary/.btn-secondary- Button styles.card- Card component style.text-gradient- Gradient text effect
npm run buildThis creates a dist/ folder with your built site ready for deployment.
- Vercel: Connect your GitHub repo to Vercel for automatic deployments
- Netlify: Drag and drop the
dist/folder or connect via Git - GitHub Pages: Use the official Astro GitHub Pages action
- Cloudflare Pages: Connect your repo for edge deployment
See the Astro deployment docs for more options.
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Astro
- Styled with Tailwind CSS
- Icons from Heroicons
- Typography by Inter
