Next.js Starters & Boilerplates

Astro vs Next.js for SaaS: When the Light Framework Is Enough — and When It Is Not

1 November 2026 · Updated 28 November 2026 · 13 min read · by Yang Kai

An honest Astro vs Next.js comparison for SaaS and indie products: verdicts per criterion, the decision matrix, when Astro is enough, when you need Next.js, and the hybrid pattern most indie products end up with.

Astro vs Next.js SaaS decision matrix

Contents
  1. How we researched this
  2. First, split your product into two halves
  3. Criterion 1: the public surface
  4. Criterion 2: the app surface
  5. Criterion 3: auth and SaaS plumbing
  6. Criterion 4: maintenance burden
  7. Criterion 5: ecosystem, starters and agent knowledge
  8. What the current versions change — and what they don't
  9. The decision matrix
  10. Two products, scored
  11. The hybrid pattern that actually works
  12. The cost nobody budgets for: switching later
  13. Verdict: which is better for SaaS?

The Astro vs Next.js debate is usually argued for blogs, where Astro wins easily. SaaS is a different argument: your product has logins, dashboards, billing state and pages that cannot be static, and the honest answer stops being “Astro, obviously”.

It becomes “which part of the product are you talking about?” Split a SaaS into its public half and its app half, and the two frameworks stop competing — each one wins the half it was built for.

This comparison scores both frameworks criterion by criterion for a product, declares a winner for each, and ends with the hybrid pattern most indie products end up running. Full disclosure before the verdicts: this site is built with Astro, so read our Astro scores with that in mind.

Criterion Winner Why, in one line
Public surface (marketing, pricing, docs, blog) Astro Static output, near-zero JavaScript, cheap hosting
App surface and deep interactivity Next.js React ecosystem depth, mature data and state patterns
Auth and SaaS plumbing Next.js Starters, libraries and tutorials assume it
Maintenance burden for a solo builder Astro Smaller conceptual surface, less framework churn
Hiring, templates and agent familiarity Next.js A far bigger pool of code, starters and examples
Hosting cost at indie scale Tie The public half is cheaper on Astro; the app half costs the same either way

How we researched this

Framework behaviour is taken from the official Astro and Next.js documentation, checked in November 2026 against the current major versions (Astro 7 and Next.js 16). Ecosystem claims are stated qualitatively on purpose: published “market share” surveys of indie builders disagree wildly with each other, so this article prints none of their percentages.

This is a desk-researched comparison, not a benchmark — no load times or build speeds are claimed, because those depend on your product, not the framework logo.

First, split your product into two halves

Every SaaS is really two products wearing one domain:

The public half — landing pages, pricing, docs, blog, changelog, comparison pages. This half is content. It needs speed, SEO and cheap iteration. It changes weekly.

The app half — signup, onboarding, dashboard, settings, billing. This half is software. It needs auth, per-user data and interactive state. It changes carefully.

Most framework regret comes from choosing for one half and suffering in the other. Next.js people endure heavy pages and framework overhead on their marketing site. Astro people hit a wall when the dashboard needs deeply interactive, stateful UI. Name the halves first; the framework choice gets much easier. (For the content half judged on its own, see Astro vs Next.js for content sites.)

Criterion 1: the public surface

Astro prerenders pages to static HTML and ships no JavaScript by default; interactivity is added per component as islands, only where a page earns it. A pricing page or a docs section is exactly that shape. Server islands extend the same idea to personalised fragments — a logged-in user’s name in the header — without giving up the static page around them.

Next.js can produce static pages too, and does it well. But its centre of gravity is the application: the runtime, the client components and the data machinery come along even when a page is a paragraph of marketing copy, and keeping page weight down is a discipline you maintain rather than a default you inherit.

Winner: Astro. For pages whose job is to be read and ranked, the lighter default wins, and it is not close.

Criterion 2: the app surface

This is where the result flips. A dashboard that is mostly tables, forms and reports is request-response software, and Astro’s on-demand rendering handles it without drama: server-rendered pages, cookie-based auth, a few interactive islands.

Sustained, complex client state is different territory. Collaborative editing, drag-and-drop builders, offline-first behaviour, live multi-user presence — in Next.js these are well-trodden paths with component libraries, data-fetching patterns and a tutorial for every edge case. In Astro you can embed a React island for one such screen. When half your screens are like that, you are building a Next.js app inside Astro out of stubbornness.

Winner: Next.js. The deeper your app’s interactivity, the more its ecosystem depth is worth.

Criterion 3: auth and SaaS plumbing

Auth with teams and roles, billing webhooks, transactional email, admin panels: the unglamorous plumbing that decides how fast a SaaS ships. The starter and library market for that plumbing is overwhelmingly Next.js-shaped. The commercial starters scored in what a SaaS starter must include are Next.js products almost without exception, and the auth options in SaaS auth options compared document the same tilt.

Astro’s plumbing story is workable — established auth libraries, server routes, endpoints — but thinner, and you will assemble more of it yourself. For a content-led product with a small account area, that assembly is an afternoon. For a product whose core is accounts and permissions, it is a recurring tax.

Winner: Next.js. If your plan is “buy a starter and launch”, your framework decision has effectively been made, and that is fine.

Criterion 4: maintenance burden

Astro’s conceptual surface is smaller: files are pages, content is collections, JavaScript is opt-in. For a one-person company that also does support, marketing and sales, less framework to keep current is a feature with a dollar value. Astro’s upgrade cadence still needs respect — majors arrive regularly — but each one touches a smaller machine.

Next.js moves faster and asks more of you for following it: rendering modes, caching rules and conventions that shift between majors, plus a larger dependency tree in a typical starter. Teams absorb that cost with headcount. Solo builders pay it in evenings.

Winner: Astro, for the solo and small-team reality this site writes for. A React-experienced team that already debugs Next.js well should score this criterion the other way — team skill is a legitimate deciding factor.

Criterion 5: ecosystem, starters and agent knowledge

Next.js is the default choice in the indie SaaS ecosystem. That default status compounds: more starters, more templates, more answered questions, more components that assume React.

If you hire, the pool of developers who already know Next.js is larger. If you build with AI assistance — as many readers here do — the same compounding applies to your agent: it has seen vastly more Next.js code, including, it must be said, more of its deprecated patterns.

Astro’s smaller footprint means fewer patterns to get wrong, but you must supply more project-specific instruction. Either way the fix is identical: pin versions, state conventions in your project instructions, and verify builds rather than trusting output.

Winner: Next.js. Swimming with this current is worth real money in templates, answers and agent fluency; just know when you are swimming against it, and why.

What the current versions change — and what they don’t

Both frameworks are on fresh majors: Astro 7 and Next.js 16 are the current releases, checked November 2026. Neither moves the boundary above.

Astro’s recent releases widen the “Astro is enough” zone at the edges. Server islands — personalised fragments rendered on demand inside an otherwise static page — have been stable since Astro 5.

That is what lets a marketing page carry a logged-in header without becoming an app route. Next.js 16 keeps investing in the opposite direction: the app platform, its caching model and its tooling get deeper with each release.

That is the pattern to expect. Each framework’s roadmap reinforces its own half of the split, so a decision made on product shape today is unlikely to be overturned by next year’s version of either one.

One related assumption is now out of date: Next.js no longer implies Vercel hosting. The OpenNext adapter runs Next.js on Cloudflare Workers, and Netlify maintains its own runtime, so framework choice and hosting choice are separate decisions — deploying Next.js on free tiers treats the hosting half on its own.

The decision matrix

Score your product honestly against these signals. Three or more checks in one column is a strong signal, not a suggestion.

Signal Points to Astro Points to Next.js
Traffic source Search, content, directories Product-led, in-app virality
Dashboard style Tables, forms, reports Editors, builders, live collaboration
Interactive screens A few, isolated Most of the product
Team Solo or content-strong React-experienced engineers
Starter strategy Build lean, buy little Buy a full SaaS starter
Page weight priority Every kilobyte counts (SEO, emerging markets) Rich UX justifies the bundle
Update appetite Minimal framework churn Comfortable tracking a fast-moving framework

Two products, scored

Product A: a directory of design templates with paid listings. Buyers arrive from search, browse static catalogue pages, and pay through a hosted checkout. Vendors log in to edit a listing — a form, an image upload, a table of their own products.

Scoring it: traffic source, content; dashboard style, tables and forms; interactive screens, a few and isolated; starter strategy, build lean. Four checks for Astro, none for Next.js. This product can live entirely in Astro, with one embedded component for the upload widget if the plain form ever feels thin.

Product B: a client portal for freelancers. Clients log in daily to share files, comment on drafts, approve work and watch project status change live. The founder wants to buy a starter and spend the saved month on the product itself.

Scoring it: traffic source, product-led; dashboard style, the product itself; interactive screens, most of it; auth with client roles, core from day one; starter strategy, buy the plumbing. Five checks for Next.js. Building this in Astro would mean reassembling the app half inside the content framework, one workaround at a time.

Most real products land between these two — which is exactly the case the next pattern exists for.

The hybrid pattern that actually works

The pattern worth recommending most often to indie builders is boring, which is why it works: Astro for the public half, a focused app for the logged-in half, on one domain.

Practically, that means the marketing site, blog and docs live in Astro — fast, cheap to host (the public half can sit on the free tiers mapped in deploying Next.js on free tiers and its static equivalents), and easy for an agent to maintain.

The app lives at /app or an app. subdomain in Next.js — or stays in Astro, if your matrix leaned that way and the dashboard is mostly read-only. Users experience one product; you maintain two codebases that are each simple at their own job.

The costs are real but bounded. Auth must be shared deliberately: a common approach runs auth in the app and keeps the public site account-free. Design tokens should live in one shared place so the two halves look identical. Both are one-time setup problems, unlike framework mismatch, which taxes you weekly.

In practice the split has three decisions to make once, at setup.

First, the address: an app. subdomain is the simplest routing, while proxying /app through the main domain keeps one URL for marketing but adds a rewrite layer to maintain.

Second, the session: if the public half ever needs to know a visitor is logged in — an “Open dashboard” button instead of “Log in” — the session cookie has to be readable across both halves, which is a deliberate auth-design choice, not an accident to discover later.

Third, analytics: one property, both halves, or your funnel from landing page to signup has a seam exactly where the interesting question is.

A lighter variant: stay entirely in Astro and embed one serious React island for the single screen that needs it — a configurator, a canvas, a complex chart. This is Astro’s designed escape hatch, and for many products it defers the Next.js question indefinitely. The data underneath either shape is a separate decision; free databases for Next.js and Astro covers the $0 starting points.

The cost nobody budgets for: switching later

Framework decisions feel permanent at signup and temporary at month six, when the product has changed shape. Price the switch honestly and the asymmetry is reassuring.

The public half ports cheaply in both directions. Content is Markdown and MDX either way; pages are components; a competent builder or agent moves a marketing site between these frameworks in days, and the URLs — the part search engines care about — need not change at all.

The app half is the expensive direction. Auth flows, data fetching, form handling and component state are framework-shaped; moving a working dashboard from one framework to the other is a rewrite of that half, not a conversion. Features keep shipping during the rewrite or they don’t, and for a solo builder they usually don’t.

That asymmetry is the practical argument of this whole comparison: treat the public half as nearly disposable, and spend your decision time on the app half. It is also why the hybrid is low-risk — each half can be replaced without touching the other.

Verdict: which is better for SaaS?

Run your product through the matrix before reading any framework marketing. If you landed on Astro or hybrid, the themes directory has content-side starters built for exactly the public half. If you landed on Next.js, work through the Next.js starter decision guide and choosing a Next.js boilerplate by criteria before you buy anything.

FAQ

Can I build a whole SaaS in Astro? A content-led SaaS with a small logged-in area, yes — Astro handles server routes and islands of interactivity fine. A dashboard-heavy product will fight the framework; the decision matrix in this article marks where that line falls.

What does the hybrid pattern look like? Astro for everything public (landing, pricing, blog, docs) and the app framework for everything behind login, on the same domain via routing or a subdomain. You get static-site speed where it wins customers and app power where it serves them.

Is Astro cheaper to host for SaaS? The public surface, yes — static hosting is effectively free at indie scale. The app’s costs are identical either way, which is why hosting price should never drive this decision on its own.

What about auth in Astro? Workable via established libraries and server routes, but the ecosystem is thinner than Next.js’s. If auth with teams and roles is core to your product on day one, weigh that heavily — the starter checklist linked here scores it.

Should I consider SvelteKit instead of both? If your product is a more traditional web app rather than a content-led SaaS, yes — the SvelteKit vs Next.js comparison adds the third option many teams shortlist.

Category: Next.js Starters & Boilerplates · Tags: #astro #nextjs #saas #comparison

Next step: this article is part of Next.js guides, which covers the full topic from first setup to advanced use.

Related guides

Next.js Starters & Boilerplates

Free Database for a Next.js or Astro Project: Supabase vs Neon vs Turso

Five database options checked against their own pricing pages in November 2026: Supabase, Neon, Turso and Cloudflare D1 free tiers compared on the limits that decide a project — plus PlanetScale, whose free tier no longer exists.

13 min read