Astro builds content sites, web apps, and server APIs with server-first rendering, optional UI islands, and integrations for major frameworks.
Overview
Astro is a JavaScript web framework aimed at fast, content-driven websites. It emphasizes server rendering that sends lightweight HTML and strips unnecessary client JavaScript by default.
Developers can load content from the file system, APIs, or CMS sources, bring components from React, Vue, Svelte, and other libraries, and use file-based routing with middleware, actions, and deployment adapters for common hosts.
Built-in features include content collections for Markdown and MDX, image optimization helpers, view transitions, environment variable management, a dev toolbar, and prefetching controls. The islands architecture limits client JavaScript to interactive regions.
Projects start with npm create astro or manual package installation, with official integrations for UI frameworks, adapters, sitemaps, MDX, RSS, and language tooling maintained in the core ecosystem.
Key features
- Server-first HTML rendering
- Islands architecture for partial hydration
- Content collections for Markdown and MDX
- File-based routing and middleware
- UI framework integrations
- Built-in image optimization utilities
- View transitions between pages
- Hosting deployment adapters
Use cases
- Marketing sites and blogs
- Documentation and content-heavy pages
- Hybrid static and server-rendered apps
- E-commerce and landing pages with islands
- Integrating existing React or Vue components
Does the same job as
Astro doesn't name these products itself, but its own description shows it does the same job.