Compare an islands-oriented HTML site with Gatsby’s React hydration and source-plugin data pipeline.
gatsby builds React-based websites with a data layer that source plugins can populate from CMSs and other services. Build-time queries produce page content, while React can fetch changing data in the browser after hydration. It suits teams already invested in Gatsby's plugins and page-generation conventions. Browser-only code still needs care during server-side build rendering.
astro is an alternative for content-oriented sites that render HTML and selectively hydrate interactive components. It can use React components, but is not a drop-in Gatsby replacement. Migrating requires revisiting routing, data queries, images and plugin integrations; existing Gatsby GraphQL queries do not transfer automatically. Choose around your content pipeline and interaction needs rather than assuming either framework is always faster.
astro: Choose for content pages with selective interactive islands; redesign Gatsby data queries and integrations when migrating.
gatsby: Choose when existing React pages, source plugins and build-time queries fit the project; isolate browser-only code during builds.
Choose for content pages with selective interactive islands; redesign Gatsby data queries and integrations when migrating.
Choose when existing React pages, source plugins and build-time queries fit the project; isolate browser-only code during builds.
Astro is the all-in-one web framework designed for speed.
Pull your content from anywhere and deploy everywhere, all powered by your favorite UI components and libraries.
# Recommended!
npm create astro@latest
# Manual:
npm install astro
Looking for help? Start with our Getting Started guide.
Looking for quick examples? Open a starter project right in your browser.
Visit our official documentation.
Having trouble? Get help in the official Astro Discord.
New contributors welcome! Check out our Contributors Guide for help getting started.
Join us on Discord to meet other contributors. We'll help you get your first contribution in no time!
Astro is generously supported by Cloudflare, Mux, Netlify, Webflow, and several other amazing organizations.