Softwr

Documentation · head to head

Fumadocs vs Stimulus

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
Stimulus logo

Stimulus

Web Development

Small JavaScript framework that adds behaviour to existing server rendered HTML

From
Free
Free plan
Yes

The short version

  • Fumadocs is a set of Next; Stimulus is an MIT licensed JavaScript framework.
  • Both are free.
  • Only Fumadocs lists next.js App Router native; only Stimulus lists works with server rendered HTML.
  • Where Stimulus falls short: does not render templates, so HTML must come from the server or another tool.

How do Fumadocs and Stimulus differ?

Fumadocs and Stimulus differ on pricing model, platforms and category (Documentation against Web Development). Only the attributes on which Fumadocs and Stimulus actually diverge.

Attributes where Fumadocs and Stimulus differ
AttributeFumadocsStimulus
Pricing modelOpen source, no licence feeOpen-source
PlatformsWeb, macOS, Windows, LinuxWeb
CategoryDocumentationWeb Development

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

Not yet recorded: founded for Fumadocs.

Which features does each one have?

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

  • Controllers attached through data-controller
  • Actions that bind DOM events to controller methods
  • Targets for locating elements inside a controller
  • Values that read, write and observe data attributes
  • Works with server rendered HTML
  • Designed to pair with Turbo in Hotwire
  • MIT licensed open source

What is each one used for?

Stimulus is most often brought in for adding small interactions to Rails views. 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 Stimulus
  • A Next.js product team that wants docs to deploy in the same pipeline as the applicationnot Stimulus
  • API reference pages generated from an OpenAPI document alongside hand written guides in one navigation treenot Stimulus
  • A design system site where the component documentation must render the live components from the same codebasenot Stimulus

Stimulus

  • Adding small interactions to Rails viewsnot Fumadocs
  • Progressive enhancement of server rendered pagesnot Fumadocs
  • Pairing with Turbo for fast page updatesnot Fumadocs
  • Replacing scattered jQuery codenot Fumadocs
  • Form and widget behaviour on existing HTMLnot Fumadocs

Where do Fumadocs and Stimulus fall short?

Stimulus's most cited limit: does not render templates, so HTML must come from the server or another tool. 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

Stimulus

  • Does not render templates, so HTML must come from the server or another tool
  • No built in routing, data fetching or client side state management
  • Behaviour is tied to data attributes in markup, which some teams find harder to trace
  • Not a component framework, so large interactive interfaces need other libraries

How much do Fumadocs and Stimulus cost?

Fumadocs is free to use; Stimulus 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

Stimulus

Free

No published plan breakdown. See the Stimulus 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 Stimulus if

  • You need controllers attached through data-controller.
  • You want to start without paying.
  • You also want actions that bind dom events to controller methods.

Questions people ask

Is Fumadocs or Stimulus better?
It depends on the job. Fumadocs fits documentation that must sit behind login and show different content to different customer plans; Stimulus fits adding small interactions to Rails views. Fumadocs starts at Free and Stimulus at Free.
Which is cheaper, Fumadocs or Stimulus?
Fumadocs starts at Free and Stimulus at Free.
Does Fumadocs or Stimulus run on more platforms?
Fumadocs runs on Web, macOS, Windows, Linux. Stimulus 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 Stimulus is typically brought in for.
What can Fumadocs do that Stimulus cannot?
Fumadocs covers Next.js App Router native, Multiple content sources, OpenAPI page generation, Built in search. Stimulus covers Controllers attached through data-controller, Actions that bind DOM events to controller methods, Targets for locating elements inside a controller, Values that read, write and observe data attributes.

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.

Stimulus: What is Stimulus used for?

Stimulus enhances HTML that already exists on the page by connecting JavaScript controllers to elements through data attributes. It does not generate the HTML itself.

Source
Fumadocs: Does it work outside Next.js?

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

Stimulus: What are the core concepts in Stimulus?

Controllers are the main unit, and they are joined by actions, targets and values. Actions link events to methods, targets find elements and values store state in data attributes.

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

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

Stimulus: What licence does Stimulus use?

The GitHub repository states that Stimulus is released under the MIT licence. It is free to use.

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.

Stimulus: Why was Stimulus created?

According to the project's origin page, Basecamp used a mix of jQuery, vanilla JavaScript and object oriented subsystems that were hard to reuse and learn. Stimulus condensed those patterns into a small, consistent framework.

Source
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