— 17 November 2026

Astro or Next.js for a marketing site?

When to build a company website on Astro and when on Next.js — speed, content editing, interactivity, hosting cost and team fit — from a studio that ships both.

  • Technical
  • Stack decisions

We build marketing sites in both. Trivarna Foundation’s platform runs on Next.js. Our own site, napdesigns.com, runs on Astro. Here is how we decide.

The one-line version

Astro for content. Next.js for applications. Most of the decision follows from which one your site really is.

Why Astro suits content sites

Astro renders pages to HTML and ships no JavaScript by default. Interactive pieces — a form, a carousel, a calculator — are added as “islands” that load only where needed.

For a marketing site that means:

  • Fast pages with little effort. Good Core Web Vitals come naturally because there is little to optimise away.
  • Cheap, simple hosting. Static output runs on Cloudflare, Netlify or Vercel, often free or close to it.
  • Content in Markdown or MDX, with type-checked collections for blogs, case studies and services.
  • Framework freedom. Islands can be written in React, Svelte, Vue or plain JavaScript.

Our site is a good example: static HTML for every page, with an animation bundle that loads after the content is on screen.

Why Next.js suits applications

Next.js is a full React application framework: server rendering, server actions, API routes, authentication, middleware, and incremental regeneration for content that changes often.

It is the better choice when:

  • The site has logged-in areas — dashboards, portals, accounts
  • Content is personalised per user or region
  • There is heavy interactivity across most pages, not just a few islands
  • You already have a React app and want one codebase, one team, shared components

Trivarna needed pages that update without a redeploy and a Firestore-backed editor the foundation’s team could publish from — incremental regeneration and server-side logic made Next.js the better fit.

Where the trade-offs show up

AstroNext.js
Default JavaScriptNoneReact runtime on every page
Best forMarketing sites, blogs, docsApps, portals, personalised sites
Speed effortLowModerate — keep client components lean
HostingStatic, very cheapStatic or server; more options, more to configure
HiringAny web developerReact developers — a large pool

What matters more than the framework

The CMS. Who edits the site, and how often? A marketing team publishing daily needs a good headless CMS regardless of framework. We cover choosing one in a separate post.

Performance discipline. Either framework can produce a slow site with enough third-party scripts. See fixing INP and Core Web Vitals.

Who maintains it. Pick what your team, or your studio, knows well.

Coming from WordPress?

Both are common destinations for a WordPress migration. The move is less about the framework and more about content, URLs and redirects — WordPress to Next.js covers how we approach it, and redesigning without losing rankings covers the SEO side.

For the wider stack picture, read choosing a stack in 2026.

This is the work behind our web development service. Shipped examples: Trivarna Foundation.

? COMMON QUESTIONS

Questions people actually ask.

Is Astro faster than Next.js?

For content-heavy marketing sites, Astro usually ships less JavaScript by default, which makes good Core Web Vitals easier to reach. A carefully built Next.js site can be just as fast, but it takes more deliberate effort to keep client-side JavaScript down.

When should I choose Next.js over Astro?

When the site is really an application — logged-in areas, dashboards, personalised content, heavy interactivity — or when it shares code and a team with an existing React app. Next.js is built for applications; Astro is built for content.

Can non-developers edit an Astro or Next.js site?

Yes, if it is connected to a CMS. Both work with headless CMSs like Sanity, Contentful, Storyblok or a Git-based CMS. Without a CMS, content lives in code files and edits need a developer.

3 RELATED READING

Next to this one.

→ NEXT STEP

Have a product to ship?

Start a project ↗ hello@napdesigns.com