A modern, beautiful, and completely free Astro theme template designed specifically for GenAI and AI-focused startups. Features a stunning dark/light mode toggle, smooth animations, and ready-to-deploy components.
- π¨ Beautiful Design - Modern, clean UI with gradient accents and smooth animations
- π Dark/Light Mode - Fully functional theme toggle with localStorage persistence
- β‘ Lightning Fast - Built with Astro for optimal performance
- π± Fully Responsive - Perfect on mobile, tablet, and desktop
- π Framer Motion - Smooth scroll animations and transitions
- π§© Pre-built Sections:
- Hero with animated gradients
- Features showcase
- Pricing cards
- Testimonials
- FAQ with accordion
- Newsletter signup
- Social links
- π― TypeScript - Full type safety
- π¨ Tailwind CSS v4 - Latest utility-first CSS framework
- π§± shadcn/ui - Beautiful, accessible components
- π GitHub Pages Ready - Deploy with one click
- βΏ Accessible - WCAG compliant components
- AI/GenAI Startups
- SaaS Landing Pages
- API Documentation Sites
- Developer Tools
- Tech Product Launches
git clone https://github.com/yourusername/astro-genai-startup-theme.git
cd astro-genai-startup-themenpm installnpm run devVisit http://localhost:4321 to see your site!
npm run build- Header - Responsive navigation with theme toggle
- Hero - Eye-catching hero section with animated gradients and stats
- Features - Grid of feature cards with icons and hover effects
- Pricing - Comparison pricing cards with highlighted popular plan
- Testimonials - Customer testimonials with ratings
- FAQ - Accordion-style frequently asked questions
- Footer - Complete footer with links and newsletter signup
- ThemeToggle - Dark/light mode switcher
index.astro- Main landing page with all sectionsmarkdown-page.md- Example markdown page
main.astro- Main layout with header and footer
Edit src/styles/global.css to customize your brand colors. The theme uses CSS variables for easy customization:
:root {
--background: oklch(1 0 0);
--foreground: oklch(0.147 0.004 49.25);
/* ... more variables */
}Update the content in the component files:
src/components/Hero.tsx- Hero section text and statssrc/components/Features.tsx- Feature listsrc/components/Pricing.tsx- Pricing tierssrc/components/Testimonials.tsx- Customer reviewssrc/components/FAQ.tsx- Questions and answers
Replace the logo and brand name in:
src/components/Header.tsxsrc/components/Footer.tsxsrc/layouts/main.astro(page title)
This theme includes a GitHub Actions workflow for automatic deployment:
- Update
astro.config.jswith your repository details:
export default defineConfig({
site: 'https://yourusername.github.io',
base: '/your-repo-name',
// ...
});- Push to your repository:
git add .
git commit -m "Initial commit"
git push origin main-
Enable GitHub Pages in your repository settings:
- Go to Settings β Pages
- Source: GitHub Actions
-
Your site will be automatically deployed on every push!
npm run build
# Upload the contents of the dist/ folder to your hosting provider/
βββ .github/
β βββ workflows/
β βββ deploy.yml # GitHub Pages deployment
βββ public/
β βββ favicon.svg
βββ src/
β βββ components/
β β βββ ui/ # shadcn/ui components
β β β βββ accordion.tsx
β β β βββ button.tsx
β β βββ FAQ.tsx
β β βββ Features.tsx
β β βββ Footer.tsx
β β βββ Header.tsx
β β βββ Hero.tsx
β β βββ Pricing.tsx
β β βββ Testimonials.tsx
β β βββ ThemeToggle.tsx
β βββ layouts/
β β βββ main.astro
β βββ lib/
β β βββ utils.ts
β βββ pages/
β β βββ index.astro
β βββ styles/
β βββ global.css
βββ astro.config.js
βββ components.json
βββ package.json
βββ tailwind.config.mjs
βββ tsconfig.json
βββ TODO.md # Development progress tracker
- Astro 5.16 - Static site generator
- React 19 - UI components
- TypeScript - Type safety
- Tailwind CSS 4 - Styling
- shadcn/ui - Component library
- Framer Motion - Animations
- Lucide Icons - Icon library
- Radix UI - Accessible primitives
npm run dev # Start development server
npm run build # Build for production
npm run preview # Preview production build
npm run astro # Run Astro CLI commandsContributions, issues, and feature requests are welcome! Feel free to check the issues page.
MIT License - feel free to use this template for your own projects!
Copyright (c) 2025
- Inspired by modern SaaS landing pages
- Components inspired by reactbits.dev
- Built with love for the GenAI community
If you find this template useful, please consider:
- β Starring the repository
- π¦ Sharing on Twitter
- π Writing a blog post about it
Built with β€οΈ for the GenAI community