Documentation · head to head
Fumadocs vs Stencil

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

Stencil
Web Development
MIT licensed toolchain for building reusable Web Component libraries in TypeScript
- From
- Free
- Free plan
- Yes
The short version
- Fumadocs is a set of Next; Stencil is an open source toolchain.
- Both are free.
- Only Fumadocs lists next.js App Router native; only Stencil lists shadow DOM and slots support.
- Where Stencil falls short: aimed at component libraries, so routing and data fetching must come from elsewhere.
How do Fumadocs and Stencil differ?
Fumadocs and Stencil differ on pricing model, platforms and category (Documentation against Web Development). Only the attributes on which Fumadocs and Stencil actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 7 appear only for Fumadocs and 8 only for Stencil. 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 Stencil
- Compiles TypeScript and JSX to Web Components
- Shadow DOM and slots support
- Output optimised for tree shaking and loading
- Asynchronous rendering pipeline
- Documentation generated from JSDoc comments
- Dev server with hot reloading
- Unit testing and code generation tooling
- Integration guides for Angular, React and Vue
What is each one used for?
Stencil is most often brought in for publishing a design system as Web Components. 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 Stencil
- A Next.js product team that wants docs to deploy in the same pipeline as the applicationnot Stencil
- API reference pages generated from an OpenAPI document alongside hand written guides in one navigation treenot Stencil
- A design system site where the component documentation must render the live components from the same codebasenot Stencil
Stencil
- Publishing a design system as Web Componentsnot Fumadocs
- Sharing UI components across React, Angular and Vue appsnot Fumadocs
- Building framework independent widgetsnot Fumadocs
- Generating documentation for component librariesnot Fumadocs
- Building progressive web apps with Web Componentsnot Fumadocs
Where do Fumadocs and Stencil fall short?
Stencil's most cited limit: aimed at component libraries, so routing and data fetching must come from elsewhere. 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
Stencil
- Aimed at component libraries, so routing and data fetching must come from elsewhere
- Requires TypeScript and decorator conventions that differ from other frameworks
- Web Component styling and form handling can need extra work in some host frameworks
- Smaller ecosystem of third party components than the largest frameworks
How much do Fumadocs and Stencil cost?
Fumadocs is free to use; Stencil 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
Stencil
FreeNo published plan breakdown. See the Stencil 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 Stencil if
- You need compiles typescript and jsx to web components.
- You want to start without paying.
- You work on Web, Windows, macOS, Linux.
- You also want shadow dom and slots support.
Questions people ask
- Is Fumadocs or Stencil better?
- It depends on the job. Fumadocs fits documentation that must sit behind login and show different content to different customer plans; Stencil fits publishing a design system as Web Components. Fumadocs starts at Free and Stencil at Free.
- Which is cheaper, Fumadocs or Stencil?
- Fumadocs starts at Free and Stencil at Free.
- Does Fumadocs or Stencil run on more platforms?
- Fumadocs runs on Web, macOS, Windows, Linux. Stencil runs on Web, Windows, macOS, Linux.
- 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 Stencil is typically brought in for.
- What can Fumadocs do that Stencil cannot?
- Fumadocs covers Next.js App Router native, Multiple content sources, OpenAPI page generation, Built in search. Stencil covers Compiles TypeScript and JSX to Web Components, Shadow DOM and slots support, Output optimised for tree shaking and loading, Asynchronous rendering pipeline.
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.
Stencil: What does Stencil produce?
Stencil compiles components written in TypeScript and JSX into standard Web Components. These work in any major framework or without one.
SourceFumadocs: Does it work outside Next.js?
No. The UI layer depends on the Next.js App Router.
Stencil: Is Stencil free?
Yes. The project is released under the MIT licence according to both its website and its GitHub repository.
SourceFumadocs: Can it generate pages from an OpenAPI spec?
Yes, including operation pages, schema rendering and an interactive request playground.
Stencil: Who builds Stencil?
The README says Stencil is built by the Ionic team. The website describes it as an open source project by Ionic.
SourceFumadocs: 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.
Stencil: Does Stencil work with React, Angular and Vue?
Yes. Components are plain Web Components, and the website provides integration guides for Angular, React and Vue.
SourceFumadocs: 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.
Related pages
Other head to heads
- Fumadocs vs Nextra
- Fumadocs vs Starlight
- Fumadocs vs Mintlify
- Fumadocs vs VitePress
- Fumadocs vs GitBook
- Fumadocs vs Scalar
- Fumadocs vs ReadMe
- Fumadocs vs Redocly
- Fumadocs vs Bump.sh
- Fumadocs vs Archbee
- Fumadocs vs Antora
- Fumadocs vs MkDocs
- Fumadocs vs Scribe
- Fumadocs vs Docsify
- Fumadocs vs Tettra
- Fumadocs vs Guru (knowledge platform)
- Fumadocs vs MediaWiki
- Fumadocs vs Slite
- Fumadocs vs Lit
- Fumadocs vs Angular
- Fumadocs vs Preact
- Fumadocs vs SolidJS
- Fumadocs vs Svelte
- Fumadocs vs MUI
- Fumadocs vs Mantine
- Fumadocs vs TypeScript
- Fumadocs vs PrimeReact
- Fumadocs vs Symfony
- Fumadocs vs Chakra UI
- Fumadocs vs Rollup
- Fumadocs vs Spring Boot
- Fumadocs vs Tailwind CSS
- Fumadocs vs v0 by Vercel
- Fumadocs vs Bolt.new
- Fumadocs vs Lighthouse
- Fumadocs vs Vercel
- Stencil vs Nextra
- Stencil vs Starlight
- Stencil vs Mintlify
- Stencil vs VitePress
- Stencil vs GitBook
- Stencil vs Scalar
- Stencil vs ReadMe
- Stencil vs Redocly
- Stencil vs Bump.sh
- Stencil vs Archbee
- Stencil vs Antora
- Stencil vs MkDocs
- Stencil vs Scribe
- Stencil vs Docsify
- Stencil vs Tettra
- Stencil vs Guru (knowledge platform)
- Stencil vs MediaWiki
- Stencil vs Slite
- Stencil vs Lit
- Stencil vs Angular
- Stencil vs Preact
- Stencil vs SolidJS
- Stencil vs Svelte
- Stencil vs MUI
- Stencil vs Mantine
- Stencil vs TypeScript
- Stencil vs PrimeReact
- Stencil vs Symfony
- Stencil vs Chakra UI
- Stencil vs Rollup
- Stencil vs Spring Boot
- Stencil vs Tailwind CSS
- Stencil vs v0 by Vercel
- Stencil vs Bolt.new
- Stencil vs Lighthouse
- Stencil vs Vercel
