Glossary · Development

What is the Astro framework?

Astro is an open-source web framework for content-focused websites that renders pages to HTML at build time or on the server and ships no client-side JavaScript by default, adding interactivity only where a component needs it.

Why it matters

How Astro works: HTML first, islands where needed

Marketing sites, docs and blogs are mostly content. Astro serves that content as plain HTML, which makes pages fast on mobile networks and easy for search engines and AI crawlers to read. For a SaaS team, that means strong Core Web Vitals without fighting a framework built for apps.

It also avoids lock-in. Astro is open source (MIT license), works with React, Vue, Svelte and other components, pulls content from Markdown or any headless CMS, and deploys to Netlify, Vercel, Cloudflare or a plain server. The trade-off is that marketers need a CMS set up for them; there is no visual editor out of the box like Framer or Webflow.

Our approach

What Astro is used for

Astro is used for content sites. We choose it when performance, content scale or developer control matter more than drag-and-drop editing: large docs and resource hubs, multilingual sites, or teams with engineers who want the site in their own repository. We pair it with a headless CMS so marketers can still publish without a developer.

Builds follow our design system as code: tokens in CSS, components with documented rules, a check script before every deploy. The site lives in your own Git repository, so your team and AI coding agents propose changes as pull requests. See Astro development, static site generators and how we work.

Related service: Astro development · How we work

Example

Astro in practice

A developer-tool company has 400 docs pages, a changelog and a marketing site on three systems. On Astro, all three share one component library and one set of tokens. Docs come from Markdown in the product repository; marketing pages come from a headless CMS. Only the pricing calculator and the search box ship JavaScript, as “islands”; the rest is static HTML served from a CDN.

Avoid

Common mistakes

  • Hydrating every component. Using client directives everywhere throws away Astro’s main benefit. Hydrate only what needs to be interactive.
  • Forgetting editors. Without a CMS, every typo needs a developer. Plan the editing experience before the first page.
  • Choosing Astro for an app-like product. Highly interactive dashboards are better served by an app framework such as Next.js.
Islands

An island in one line of code

A component from React, Vue or Svelte renders to plain HTML unless you mark it. The client:visible directive turns it into an island that loads its JavaScript only when it scrolls into view:

<PricingCalculator client:visible />
Compared

Astro vs Next.js, Webflow and Framer

Astro suits content sites kept in a team’s own repository; the site builders suit teams that want to edit visually. Compare in depth: Astro vs Next.js, Astro vs Webflow, Astro vs Framer.

AstroNext.jsWebflowFramer
What it isOpen-source web framework for content sitesOpen-source React framework for apps and sitesHosted visual website platformHosted visual website builder
RenderingHTML first, JavaScript only in islandsReact on server and clientHosted pages from the visual canvasHosted pages from the canvas
EditingCode, plus a headless CMS for marketersCode, plus a headless CMS for marketersVisual canvas and built-in CMSVisual canvas and built-in CMS
Who maintains itDevelopers, in your repositoryDevelopers, in your repositoryMarketers and designersMarketers and designers
Content

Astro with a headless CMS

Marketers edit an Astro site in a headless CMS such as Sanity, Storyblok, Contentful or Keystatic. Astro’s content layer pulls the entries in, and the site rebuilds or renders the change.

Fit

When not to use Astro

  • App-like products with a lot of client state, such as dashboards: an app framework such as Next.js fits better.
  • Teams without developers who want drag-and-drop editing out of the box: Framer or Webflow fit better.
FAQ

Questions about Astro

Is Astro good for SEO?
Yes. Pages are rendered to HTML ahead of time or on the server, so crawlers see full content without running JavaScript, and small page weights help Core Web Vitals.
Can marketers edit an Astro site?
Yes, through a headless CMS such as Sanity, Storyblok, Contentful or Keystatic, connected to Astro’s content layer. They edit in the CMS and the site rebuilds or renders the change.
Is Astro free?
Yes. Astro is open source under the MIT license, so you can use it for any project without a fee; you pay only for hosting.
Can Astro use React components?
Yes. Astro renders React, Vue, Svelte and other components to HTML, and hydrates them in the browser only where you mark them as islands.
What does an Astro site cost with STRAK?
A website starts at $12,000 and takes about 6 weeks. Ongoing work runs on the Development plan at $8,000 a month. See Astro development.
Thomas OldenburgerFounder, design and build lead

Still deciding? A 30-minute call answers most of it.

Got a brief, or half of one?

Book a free 30-minute call. You leave with a straight answer on scope, price and timing, even when we are not the right fit.