🔥 All-Access Pass — $199 USD (Regular $499) · Unlock all 2,836 Astro themes ➔
komal.nakrani
Get All-Access Pass ($199)
ThemesCategoriesDocsBlogTips & TricksPricingGet All-Access Pass ($199)
Astro Themes••By Komal Nakrani

Astro for Agencies: Why Studios Build Client Sites With It

Why agencies use Astro for client sites: fast static output, low hosting bills, no plugin upkeep, reusable components, and a clean handoff. Trade-offs included.

#Astro#Agencies#Client Sites#Workflow

Agencies build client sites with Astro because it turns content-heavy marketing sites into fast static HTML that is cheap to host, has no plugin stack to patch, and is easy to hand over. Astro for agencies means one component library reused across many clients, any CMS the client prefers, and deploys to whichever host the client already pays for. The trade-off is that clients need a CMS layer if they expect to edit everything themselves.

Key Takeaways

  • Static output removes most of the maintenance retainer work that WordPress sites generate.
  • Astro components and layouts can be shared across client projects as an internal starter.
  • Astro is CMS-agnostic: Markdown, Decap, Keystatic, Storyblok, Sanity and others all plug in.
  • Interactive parts use React, Vue, Svelte or plain scripts only where needed, through islands.
  • Budget time for CMS setup and editor training; that is where agency Astro projects slip.

The agency problem Astro solves

Most agency work is not apps. It is marketing sites, landing pages, campaign microsites, documentation and blogs. Those sites have a long tail: once launched, someone has to keep them online, fast and secure for years. On a plugin-based CMS, that tail turns into update windows, broken layouts after a plugin release, and security incidents that land on the agency’s desk.

Astro moves the work to build time. npm run build writes HTML, CSS and assets to dist/. The live site is a set of files on a CDN. There is no admin login on the public domain, no PHP version to upgrade, and no database to back up. When the client wants a change, you change the source and redeploy. When they do not, the site keeps running untouched.

Reasons agencies pick Astro

Performance is the default, not a project phase

Astro ships zero JavaScript unless a component opts in with a directive like client:visible. A typical marketing page needs no framework runtime at all. That means you are not spending the last week of a project chasing a Lighthouse score that the sales deck promised. You still need to handle images and fonts well, and Astro’s astro:assets and Fonts API cover both.

One component library, many clients

Agencies repeat the same sections: hero, logo strip, feature grid, testimonials, pricing, FAQ, CTA band. In Astro each is a .astro component with typed props. Keep them in an internal starter repo and every new client begins with tested building blocks.

---
// src/components/sections/CtaBand.astro
interface Props {
  heading: string;
  text?: string;
  href: string;
  label: string;
}
const { heading, text, href, label } = Astro.props;
---
<section class="cta-band">
  <h2>{heading}</h2>
  {text && <p>{text}</p>}
  <a class="button" href={href}>{label}</a>
</section>

<style>
  .cta-band { padding: var(--space-8) var(--space-4); text-align: center; background: var(--color-surface); }
</style>

Styles are scoped to the component by default, so one client’s brand overrides do not leak into another section. Brand differences become a set of CSS custom properties per project. Our design tokens guide shows that pattern.

Your team’s framework, where you need it

If the team already writes React, Vue or Svelte, those components still work inside Astro as islands. A pricing calculator or a filterable case study grid can be a React component hydrated with client:visible, while the rest of the page stays static. You do not have to retrain the team or rewrite a component library to adopt Astro.

Any CMS the client wants

Astro does not ship its own CMS, which is useful for agencies. A small client might be fine with Markdown and Decap CMS. A larger client with an editorial team might already pay for Storyblok, Sanity, Contentful or a headless WordPress. Astro’s Content Layer loads from all of them into typed collections, so your page code stays the same pattern regardless. Our headless CMS guide for Astro compares the options.

Hosting the client already has

Static output deploys to Cloudflare Pages, Netlify, Vercel, GitHub Pages, S3, or the client’s own server. When a client’s IT team has rules about where things run, Astro rarely gets in the way. If a page needs server rendering for a form handler or a preview route, add the matching adapter and mark just that route with export const prerender = false.

Where agency Astro projects go wrong

Astro is not free of trade-offs, and agencies that adopt it hit the same few:

Pitfall What to do
Client expects visual page building like Elementor Agree on the editing model in the proposal; pick a visual headless CMS such as Storyblok if needed
Every project starts from a blank folder Keep an internal starter or start from a finished theme
CMS fields drift from the schema Define the schema once in src/content.config.ts and mirror it in the CMS config
Preview of unpublished content is missing Use the CMS’s preview feature with an on-demand route, or a draft branch deploy
Handoff is just “here is the repo” Write a short editing guide and record a walkthrough

The editing model is the big one. Developers love Markdown in Git; marketing managers often do not. Decide the content workflow before design starts, and price the CMS work as its own line item.

A repeatable agency workflow

A workflow many studios settle on:

  1. Discovery: list the page types the client needs (services, case studies, team, blog, careers) and who edits each.
  2. Start point: clone the internal starter, or a theme whose page set matches. Agencies building portfolio or studio sites can browse portfolio and agency themes, which ship case study and works pages.
  3. Content model: define collections in src/content.config.ts with Zod schemas.
  4. Brand layer: set tokens for colour, type and spacing; swap fonts through the Fonts API.
  5. CMS: connect the client’s CMS or add Decap or Keystatic.
  6. Deploy: connect the repo to the host, add preview deploys for pull requests.
  7. Handoff: docs, CMS logins, domain, and the repo transferred to the client’s organisation.
// astro.config.mjs
import { defineConfig } from 'astro/config';
import sitemap from '@astrojs/sitemap';

export default defineConfig({
  site: 'https://www.client-domain.com',
  trailingSlash: 'always',
  integrations: [sitemap()],
});

Preview deploys deserve a mention. Every major static host builds a unique URL for each branch or pull request. Clients review real pages on a real URL, and approval happens before anything touches production. For a full walkthrough of building a studio site, see build an agency website with Astro.

Licensing and themes for client work

If you start client projects from a purchased theme, check the licence covers client delivery. Komal Nakrani themes are $19 to $39 one time, delivered as a private GitHub repository, and the commercial licence allows unlimited sites for yourself or paying clients with full modification. What it does not allow is reselling the theme files as a template. Our licensing docs spell out the terms.

For agencies, the practical effect is that a theme becomes a cheap starting layout for one client, and your own component library stays your own.

How Astro changes the retainer

Many agencies make steady income from maintenance retainers. Astro changes what those retainers contain. There are fewer emergency updates and almost no security patching, so the retainer shifts toward content changes, new landing pages, SEO work and performance reporting. That is better work for both sides, and easier to explain to the client.

It also changes hosting margins. When a site can run on a free tier, reselling hosting is a weaker line. Many agencies now let the client own the hosting account and the repo, and bill for the work instead. That makes the client handoff cleaner too, since nothing is tied to the agency’s accounts.

The official Astro deployment guides list setup steps for every major host if a client asks for one you have not used.

FAQ

Why do agencies use Astro instead of WordPress?

Mainly for lower maintenance and better default performance. An Astro marketing site is static HTML with no plugins or database to patch, so it needs far less ongoing work. WordPress still makes sense when the client’s team is trained on it and wants its editor.

Can clients edit an Astro website built by an agency?

Yes, if the agency connects a CMS. Git-based editors like Decap and Keystatic, or hosted ones like Storyblok and Sanity, give clients a form-based editor. Agree on the editing model during the proposal so it is priced and built in.

Is Astro good for large agency projects?

It works well for large content sites, multi-language sites and documentation. Very large sites benefit from incremental content loading and a headless CMS. Projects where the core product is an app with user accounts are better served by an app framework, with Astro for the marketing pages.

Can an agency reuse an Astro theme for multiple clients?

That depends on the licence. Komal themes allow unlimited sites for you or your paying clients, including modification, but not redistributing the theme as a template. Always read the licence of any theme before using it for client work.

Do agencies need to know React to use Astro?

No. Astro components use HTML-like syntax with a frontmatter script. React, Vue or Svelte are optional and only needed for interactive islands.