Stack Picker
a developer-grade decision engine
Back to the picker
Frontend

Astro

Content-focused framework that ships zero JS by default.

Official site
Monthly cost
Free
Popularity
3/5
LLM knowledge
3/5
Difficulty
Easy
bundle: ~0kb default
#open-source#edge

What Astro is good at

Strengths
  • +Great for content sites
  • +Islands architecture
  • +Mix any UI framework
Tradeoffs
  • Not ideal for heavy app UIs
  • SSR story still maturing

Coding-agent prompt

You're writing an Astro site. Follow these rules:

- Ship zero JS by default. Add `client:load` / `client:idle` / `client:visible` directives only where interactivity is required.
- Content collections with Zod schemas for any markdown-driven content (`src/content/` + `content.config.ts`).
- Use View Transitions for SPA-like navigation.
- Prefer `.astro` components for static UI; drop into React/Vue/Svelte islands for interactive bits.
- Image optimization via `<Image />` from `astro:assets`.

Beginner's guide to Astro

In one line: Perfect for content-heavy sites like blogs, marketing pages, and docs.

Astro ships zero JavaScript by default, which means your pages are extremely fast. You can still drop in React, Vue, or Svelte components where you need interactivity — Astro calls this 'islands'.

Try it in your terminal
  • npm create astro@latest

    Run the setup wizard.

  • npm run dev

    Start the local preview.

Browse all categories