A curated, opinionated collection of the very best Astro integrations
Constantly updated with reviews and recommendations for your kind of project
This repository is your go-to resource for discovering the best Astro integrations. Whether you're building a blog, documentation site, e-commerce platform, or web application, you'll find carefully curated integrations that deliver real impact.
Curated by: Rich Lewis (@RichLewis007)
What makes an integration "AWESOME"?
# Using Astro's automatic setup (recommended)
npx astro add react tailwind mdx
# Or install manually
npm install @astrojs/react @astrojs/tailwind @astrojs/mdx
Then add to your astro.config.mjs:
import { defineConfig } from "astro/config";
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
export default defineConfig({
integrations: [react(), tailwind(), mdx()],
});
astro-critical-css + astro-compressUnoCSS or Tailwind CSSPartytown + Umami or PlausibleStarlight + @astrojs/mdxastro-icon@astrojs/react, @astrojs/vue, @astrojs/svelte@astrojs/vercel, @astrojs/netlify, @astrojs/cloudflareIntegrations maintained by the Astro core team. These are battle-tested and production-ready.
Weekly Downloads: ~1.2M | Official | Most Popular
Why it's awesome: Seamlessly integrate React components as islands. Perfect for adding interactivity without shipping React to every page.
Installation:
npx astro add react
Weekly Downloads: ~167K | Official
Why it's awesome: Vue 3 support with Composition API. Great for teams already using Vue.
Installation:
npx astro add vue
Weekly Downloads: ~264K | Official
Why it's awesome: Svelte's compile-time approach pairs perfectly with Astro's zero-JS philosophy.
Installation:
npx astro add svelte
Weekly Downloads: ~45K | Official
Why it's awesome: React-compatible but much smaller (3KB). Perfect for performance-critical apps.
Installation:
npx astro add preact
Weekly Downloads: ~12K | Official
Why it's awesome: Fine-grained reactivity with no virtual DOM. Excellent performance characteristics.
Installation:
npx astro add solid-js
Weekly Downloads: ~25K | Official
Why it's awesome: Minimal JavaScript framework (15KB). Perfect for adding interactivity without a build step.
Installation:
npx astro add alpinejs
Weekly Downloads: ~986K | Official | Most Popular
Why it's awesome: Mix Markdown with JSX components. Keep authoring flow simple and use shortcodes everywhere.
Installation:
npx astro add mdx
Weekly Downloads: ~85K | Official
Why it's awesome: Built-in search, i18n, strong a11y, and theming. Saves weeks for any docs site.
Installation:
npx astro add starlight
Weekly Downloads: ~5K | Official
Why it's awesome: Structured Markdown with schema validation. Great for content that needs type safety.
Installation:
npx astro add markdoc
Weekly Downloads: ~241K | Official
Why it's awesome: Zero-config deployment with edge functions support. Perfect for SSR and static sites.
Installation:
npx astro add vercel
Weekly Downloads: ~148K | Official
Why it's awesome: Netlify Functions and Edge Functions support. Great DX with Netlify Dev.
Installation:
npx astro add netlify
Weekly Downloads: ~95K | Official
Why it's awesome: Deploy to Cloudflare Workers/Pages. Edge computing with global distribution.
Installation:
npx astro add cloudflare
Weekly Downloads: ~623K | Official
Why it's awesome: Deploy to any Node.js server. Flexible for custom hosting setups.
Installation:
npx astro add node
Weekly Downloads: ~1.3M | Official | Most Popular
Why it's awesome: Automatically generates sitemaps for SEO. Zero configuration needed.
Installation:
npx astro add sitemap
Weekly Downloads: ~15K | Official
Why it's awesome: Built-in, managed SQL store. Perfect for small dynamic features without a separate backend.
Installation:
npx astro add db
Weekly Downloads: ~45K | Official
Why it's awesome: Offload analytics and tag managers to web workers. Stops blocking the main thread.
Installation:
npx astro add partytown
High-quality integrations built and maintained by the Astro community.
Weekly Downloads: ~25K
Why it's awesome: One switch to minify everything. Put it last in your integrations array.
Installation:
npm i -D astro-compress
Weekly Downloads: ~8K
Why it's awesome: Inlines above-the-fold CSS and lazy-loads the rest for faster first paint.
Installation:
npm i -D astro-critters
Weekly Downloads: ~3K
Why it's awesome: Alternative to astro-critters with different extraction strategy.
Installation:
npm i -D astro-critical-css
Weekly Downloads: ~150K
Why it's awesome: On-demand generation and presets. Usually lighter than shipping a full framework.
Installation:
npm i -D unocss @unocss/reset
Weekly Downloads: ~861K | Official
Why it's awesome: Official Tailwind CSS support. Utility-first styling with zero config.
Installation:
npx astro add tailwind
Weekly Downloads: ~374K
Why it's awesome: Local or Iconify icons with smart SVG inlining and sprite dedupe for tiny payloads.
Installation:
npm i -D astro-icon
Weekly Downloads: ~12K
Why it's awesome: Automates local and hosted font optimization with sensible defaults.
Installation:
npm i -D astro-font
Weekly Downloads: ~5K
Why it's awesome: Drop-in auth for accounts, sessions, and user management with SSR paths aligned for Astro.
Installation:
npm i @clerk/astro
Weekly Downloads: ~8K
Why it's awesome: Popular authentication solution with many providers. Great for teams familiar with NextAuth.
Installation:
npm i @auth/astro
Weekly Downloads: ~15K
Why it's awesome: Open-source Firebase alternative. Includes auth, database, and storage.
Installation:
npm i @supabase/supabase-js @supabase/auth-helpers-astro
Why it's awesome: Popular headless CMS with great developer experience and content modeling.
Installation:
npm i contentful
Why it's awesome: Real-time collaboration, structured content, and powerful querying.
Installation:
npm i @sanity/client
Why it's awesome: Self-hosted, open-source CMS with REST and GraphQL APIs.
Installation:
npm i @strapi/strapi
Why it's awesome: Type-safe database access with excellent developer experience.
Installation:
npm i @prisma/client
npm i -D prisma
Weekly Downloads: ~153K
Why it's awesome: Makes it easy to add SEO-relevant tags to your Astro app.
Installation:
npm i -D astro-seo
Why it's awesome: Lightweight analytics with simple wiring. No cookies, GDPR compliant.
Installation:
# Manual setup - see code examples
Weekly Downloads: ~2K
Why it's awesome: Privacy-friendly analytics with smooth integration. Works well with View Transitions and Partytown.
Installation:
npm i -D astro-umami
Weekly Downloads: ~45K
Why it's awesome: Generate RSS for blogs or release notes. Keeps subscribers in sync.
Installation:
npm i -D @astrojs/rss
Weekly Downloads: ~8K
Why it's awesome: Automatically imports components in Astro projects. Reduces boilerplate.
Installation:
npm i -D astro-auto-import
Weekly Downloads: ~12K
Why it's awesome: Modular syntax highlighting & annotation engine for presenting source code.
Installation:
npm i -D astro-expressive-code
Weekly Downloads: ~85K
Why it's awesome: Linting Astro components using ESLint. Find problems and apply consistent code style.
Installation:
npm i -D eslint @astrojs/eslint-config eslint-plugin-astro
Why it's awesome: Fast unit test framework. Works great with Astro's Vite-based build.
Installation:
npm i -D vitest @testing-library/dom @testing-library/user-event
Why it's awesome: Reliable end-to-end testing. Prevents regressions in layouts, routes, and interactive islands.
Installation:
npm i -D @playwright/test
npx playwright install
Why it's awesome: Automated accessibility testing. Prevents regressions and improves usability for everyone.
Installation:
npm i -D @axe-core/playwright
Weekly Downloads: ~3K
Why it's awesome: Provides accessibility checks and improvements for Astro projects.
Installation:
npm i -D astro-a11y
Detailed code examples and implementation guides are available in the examples/ directory:
client:visible or client:idle to delay hydration where possibleintegrations arraysite URL in astro.config.mjs for sitemap generationContributions are welcome! This repository aims to be a comprehensive resource for Astro integrations.
Curator: Rich Lewis (@RichLewis007)
How to contribute:
Guidelines:
Made with ❤️ for the Astro community
Curated by Rich Lewis (@RichLewis007)
⭐ Star this repo if you find it helpful!