compare
(2023-26©)
Astro vs Next.js.
Both are modern frameworks for custom-code sites. Astro is built for content. Next.js is built for applications. Most marketing sites need the first, and some products need the second.
Off/Mode builds in both and recommends one after the first call.
Short answer
Astro for content. Next.js for products.
If the site is pages, posts and landing pages, Astro is simpler, lighter and faster. If it has logins, dashboards, personalised content or data from your product, Next.js is the right tool.
Side by side
Astro vs Next.js, side by side.
| Astro | Next.js | |
|---|---|---|
| Best for | Marketing sites, blogs and docs | Sites that behave like an app |
| JavaScript shipped | Almost none by default | A React runtime on every page |
| Interactivity | Added per component, where needed | Built in everywhere |
| Logins and user data | Possible, not the focus | A core strength |
| Content | Markdown or a headless CMS | A headless CMS or your own API |
| Hosting | Any static or server host | Vercel or any Node host |
| Starts at | $5,000 | $10,000 |
Both are open source and free to use.
Four questions
01
Is it mostly content?
(Pages)
Marketing pages, a blog and docs point to Astro.
02
Do users log in?
(Accounts)
Accounts, dashboards and gated content point to Next.js.
03
One codebase?
(Team)
If your product is already in React, building the site in Next.js lets both share components.
04
How fast must it be?
(Performance)
Both can be fast. Astro reaches top scores with less effort, because it sends less JavaScript.
The ELVN website is built this way.
Choose Astro
Choose Astro when the site is there to be read.
Content-led sites gain the most: fast pages, simple hosting and a small codebase that is easy to maintain. Interactive parts, such as a calculator or a search, are added only where needed.
For a pure marketing site, Next.js is usually more than you need.
Choose Next.js
Choose Next.js when the site has to do things.
Pricing tied to billing, content behind a login, a directory fed by your database, or a marketing site that shares components with your React product.
Answers
Questions, answered.
Keep exploring
ONE LETTER A MONTH. NEW WORK, HONEST NOTES FROM THE STUDIO, AND THE OCCASIONAL OPINION. UNSUBSCRIBE WHENEVER.



