Softwr

Documentation · head to head

Fumadocs vs Rspack

Fumadocs logo

Fumadocs

Documentation

Documentation framework for Next.js that treats the docs site as an application rather than a static export

From
Free
Free plan
Yes
Rspack logo

Rspack

Documentation

Rust-based web bundler with a webpack-compatible API and fast builds

From
Free
Free plan
Yes

The short version

  • Fumadocs is a set of Next; Rspack is an MIT-licensed web bundler written in Rust.
  • Both are free.
  • Only Fumadocs lists next.js App Router native; only Rspack lists rust based bundler.
  • Where Rspack falls short: compatible with most, not all, webpack options and plugins.

How do Fumadocs and Rspack differ?

Fumadocs and Rspack differ on pricing model and platforms. Only the attributes on which Fumadocs and Rspack actually diverge.

Attributes where Fumadocs and Rspack differ
AttributeFumadocsRspack
Pricing modelOpen source, no licence feeOpen-source
PlatformsWeb, macOS, Windows, LinuxWeb

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for Rspack.

Which features does each one have?

They share no listed features; 7 appear only for Fumadocs and 8 only for Rspack. 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 Fumadocs

  • Next.js App Router native
  • Multiple content sources
  • OpenAPI page generation
  • Built in search
  • Headless and styled layers
  • Type safe frontmatter
  • Code and content colocation

Only in Rspack

  • Rust based bundler
  • webpack API compatibility
  • Incremental and lazy compilation
  • Persistent caching
  • Module Federation
  • Code splitting and tree shaking
  • React Server Components
  • Rsbuild, Rslib and Rspress toolchain

What is each one used for?

Rspack is most often brought in for speeding up large webpack builds. The jobs each tool is most often brought in to do.

Fumadocs

  • Documentation that must sit behind login and show different content to different customer plansnot Rspack
  • A Next.js product team that wants docs to deploy in the same pipeline as the applicationnot Rspack
  • API reference pages generated from an OpenAPI document alongside hand written guides in one navigation treenot Rspack
  • A design system site where the component documentation must render the live components from the same codebasenot Rspack

Rspack

  • Speeding up large webpack buildsnot Fumadocs
  • Micro frontends with Module Federationnot Fumadocs
  • Library and component builds via Rslibnot Fumadocs
  • Documentation sites via Rspressnot Fumadocs

Where do Fumadocs and Rspack fall short?

Rspack's most cited limit: compatible with most, not all, webpack options and plugins. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Fumadocs

  • It is a library rather than a finished theme, so the initial setup is meaningfully longer than a generator that ships a working site from one command
  • Maintenance is concentrated in a very small group, so an unresponsive week is a blocked upgrade and there is no support contract to escalate to
  • It only targets Next.js, so adopting it commits the documentation to that framework and a later migration means rewriting the site rather than swapping a theme
  • Breaking changes have arrived across minor versions during rapid development, so pinning versions and reading migration notes is a recurring cost rather than a one off
  • Running docs inside the application means docs traffic hits your application infrastructure and shares its failure modes, where a separate static site would have stayed up

Rspack

  • Compatible with most, not all, webpack options and plugins
  • Major version upgrade from v1 to v2 needs a migration step
  • Bundler only, with application structure left to you or Rsbuild
  • Rust internals are harder to patch than a JavaScript bundler

How much do Fumadocs and Rspack cost?

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

Fumadocs

Free
  • Open sourceFree
    • MIT licence
    • All packages included
    • Self hosted or deployed with your Next.js application

Rspack

Free

No published plan breakdown. See the Rspack review.

Which should you pick?

Choose Fumadocs if

  • You need next.js app router native.
  • You want to start without paying.
  • You work on Web, macOS, Windows, Linux.
  • You also want multiple content sources.

Choose Rspack if

  • You need rust based bundler.
  • You want to start without paying.
  • You also want webpack api compatibility.

Questions people ask

Is Fumadocs or Rspack better?
It depends on the job. Fumadocs fits documentation that must sit behind login and show different content to different customer plans; Rspack fits speeding up large webpack builds. Fumadocs starts at Free and Rspack at Free.
Which is cheaper, Fumadocs or Rspack?
Fumadocs starts at Free and Rspack at Free.
Does Fumadocs or Rspack run on more platforms?
Fumadocs runs on Web, macOS, Windows, Linux. Rspack runs on Web.
Can I use Fumadocs for free?
Both have a free tier, so you can try either at no cost before committing.
What is Fumadocs best used for?
Fumadocs is most often used for documentation that must sit behind login and show different content to different customer plans, a next.js product team that wants docs to deploy in the same pipeline as the application, api reference pages generated from an openapi document alongside hand written guides in one navigation tree, a design system site where the component documentation must render the live components from the same codebase. Of those, documentation that must sit behind login and show different content to different customer plans and a next.js product team that wants docs to deploy in the same pipeline as the application are not what Rspack is typically brought in for.
What can Fumadocs do that Rspack cannot?
Fumadocs covers Next.js App Router native, Multiple content sources, OpenAPI page generation, Built in search. Rspack covers Rust based bundler, webpack API compatibility, Incremental and lazy compilation, Persistent caching.

Answered from the vendors’ own pages

Fumadocs: Can I put documentation behind authentication?

Yes. Pages are Next.js server components, so the same session and authorisation checks the rest of the application uses apply.

Rspack: Can I reuse my webpack config in Rspack?

Rspack is compatible with the vast majority of webpack's configuration options and APIs, so loaders and plugins can usually be reused.

Source
Fumadocs: Does it work outside Next.js?

No. The UI layer depends on the Next.js App Router.

Rspack: What licence is Rspack under?

Rspack is released under the MIT licence.

Source
Fumadocs: Can it generate pages from an OpenAPI spec?

Yes, including operation pages, schema rendering and an interactive request playground.

Rspack: What else is in the Rstack family?

Rsbuild, Rslib, Rspress, Rstest, Rslint and Rsdoctor.

Source
Fumadocs: Who maintains it and is that a risk?

A very small maintainer group. For a long lived commercial documentation set, treat the low bus factor as a real risk and budget for owning a fork.

Fumadocs: Do I still need a separate docs deployment?

No, and avoiding one is the main reason to choose it. The cost is that docs share your application uptime.

Share

Related pages

Other head to heads