Softwr

Web Development · head to head

Gatsby vs Nextra

Gatsby logo

Gatsby

Web Development

Open-source React framework for building websites and apps

From
Free
Free plan
Yes
Nextra logo

Nextra

Documentation

Next.js based site generator for documentation and blog sites

From
Free
Free plan
Yes

The short version

  • Nextra is an MIT-licensed static site generator.
  • Both are free.
  • Only Gatsby lists react-based component development; only Nextra lists MDX content with components.
  • Where Gatsby falls short: Gatsby Cloud hosting ended in August 2023 and was merged into Netlify.
  • Where Nextra falls short: requires working knowledge of Next.js and React.

How do Gatsby and Nextra differ?

Gatsby and Nextra differ on platforms and category (Web Development against Documentation). Only the attributes on which Gatsby and Nextra actually diverge.

Attributes where Gatsby and Nextra differ
AttributeGatsbyNextra
PlatformsWeb, Windows, macOS, LinuxWeb
CategoryWeb DevelopmentDocumentation

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Which features does each one have?

They share no listed features; 8 appear only for Gatsby and 8 only for Nextra. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Gatsby

  • React-based component development
  • GraphQL data layer
  • Plugin and theme ecosystem
  • Static site generation
  • Server-side rendering
  • Deferred Static Generation
  • Headless CMS integration
  • Cloud Functions support

Only in Nextra

  • MDX content with components
  • Build-time syntax highlighting with Shiki
  • Pagefind full-text search
  • File-system routing
  • Internationalisation by locale folders
  • Docs and Blog themes
  • Dark mode and accessibility settings
  • Hybrid rendering with ISR

What is each one used for?

Gatsby is most often brought in for marketing sites pulling content from a headless CMS; Nextra for developer documentation sites. The jobs each tool is most often brought in to do.

Gatsby

  • Marketing sites pulling content from a headless CMSnot Nextra
  • Blogs and documentation sites built in Reactnot Nextra
  • Static sites with image optimisation pluginsnot Nextra
  • Migrating existing Gatsby Cloud sites to Netlifynot Nextra

Nextra

  • Developer documentation sitesnot Gatsby
  • Project blogsnot Gatsby
  • Multilingual docsnot Gatsby
  • MDX based knowledge basesnot Gatsby

Where do Gatsby and Nextra fall short?

Gatsby's most cited limit: Gatsby Cloud hosting ended in August 2023 and was merged into Netlify. Nextra's: requires working knowledge of Next.js and React. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Gatsby

  • Gatsby Cloud hosting ended in August 2023 and was merged into Netlify
  • The GitHub repository's releases section is empty, so release cadence is unclear
  • Requires React and GraphQL knowledge; there is no visual editor
  • Hosting, CMS and build services are paid separately
  • Official hosting guidance now centres on Netlify

Nextra

  • Requires working knowledge of Next.js and React
  • No visual editor or hosted publishing workflow is provided
  • Upgrading from version 3 to 4 needs a migration following the guide
  • Tied to the Next.js ecosystem, so it does not suit other frameworks

How much do Gatsby and Nextra cost?

Gatsby is free to use; Nextra is free to use. Plan by plan below, from each vendor's own pricing page.

Gatsby

Free

No published plan breakdown. See the Gatsby review.

Nextra

Free

No published plan breakdown. See the Nextra review.

Which should you pick?

Choose Gatsby if

  • You need react-based component development.
  • You want to start without paying.
  • You work on Web, Windows, macOS, Linux.
  • You also want graphql data layer.

Choose Nextra if

  • You need mdx content with components.
  • You want to start without paying.
  • You also want build-time syntax highlighting with shiki.

Questions people ask

Is Gatsby or Nextra better?
It depends on the job. Gatsby fits marketing sites pulling content from a headless CMS; Nextra fits developer documentation sites. Gatsby starts at Free and Nextra at Free.
Which is cheaper, Gatsby or Nextra?
Gatsby starts at Free and Nextra at Free.
Does Gatsby or Nextra run on more platforms?
Gatsby runs on Web, Windows, macOS, Linux. Nextra runs on Web.
Can I use Gatsby for free?
Both have a free tier, so you can try either at no cost before committing.
What is Gatsby best used for?
Gatsby is most often used for marketing sites pulling content from a headless cms, blogs and documentation sites built in react, static sites with image optimisation plugins, migrating existing gatsby cloud sites to netlify. Of those, marketing sites pulling content from a headless cms and blogs and documentation sites built in react are not what Nextra is typically brought in for.
What can Gatsby do that Nextra cannot?
Gatsby covers React-based component development, GraphQL data layer, Plugin and theme ecosystem, Static site generation. Nextra covers MDX content with components, Build-time syntax highlighting with Shiki, Pagefind full-text search, File-system routing.

Answered from the vendors’ own pages

Gatsby: Is Gatsby free?

Yes. Gatsby is open source under the MIT License, and the project site lists no paid Gatsby plans. You pay separately for hosting and any CMS you connect.

Source
Nextra: What licence does Nextra use?

It is released under the MIT licence.

Source
Gatsby: What happened to Gatsby Cloud?

Netlify acquired Gatsby, Inc. in February 2023 and ended Gatsby Cloud in August 2023, folding it into Netlify. The Gatsby site offers migration paths to Netlify.

Source
Nextra: How does search work?

Full-text search is indexed at build time using Pagefind, with no configuration needed.

Source
Gatsby: Does Gatsby support server-side rendering?

Yes. Wikipedia says version 4 added server-side rendering and Deferred Static Generation alongside static generation. The Gatsby site also mentions Cloud Functions.

Source
Nextra: What themes are available?

Docs Theme, Blog Theme and Custom Theme.

Source
Share

Related pages

Other head to heads