Documentation · head to head
Fumadocs vs Preact

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

Preact
Web Development
3kB alternative to React with the same modern API
- From
- Free
- Free plan
- Yes
The short version
- Fumadocs is a set of Next.
- Both are free.
- Only Fumadocs lists next.js App Router native; only Preact lists 3kB runtime.
- Where Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.
How do Fumadocs and Preact differ?
Fumadocs and Preact differ on platforms and category (Documentation against Web Development). Only the attributes on which Fumadocs and Preact actually diverge.
Identical on both: starting price (Free), pricing model (Open source, no licence fee), free tier (Yes).
Which features does each one have?
They share no listed features; 7 appear only for Fumadocs and 4 only for Preact. 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 Preact
- 3kB runtime
- preact/compat
- Same modern API
- Fast rendering
What is each one used for?
Preact is most often brought in for embedded widgets that load inside someone else’s page and must stay small. 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 Preact
- A Next.js product team that wants docs to deploy in the same pipeline as the applicationnot Preact
- API reference pages generated from an OpenAPI document alongside hand written guides in one navigation treenot Preact
- A design system site where the component documentation must render the live components from the same codebasenot Preact
Preact
- Embedded widgets that load inside someone else’s page and must stay smallnot Fumadocs
- Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Fumadocs
- Applications targeting low-bandwidth or low-powered devicesnot Fumadocs
Where do Fumadocs and Preact fall short?
Preact's most cited limit: behavioural differences from React exist in edge cases, particularly around event handling. 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
Preact
- Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
- Behavioural differences from React exist in edge cases, particularly around event handling
- A much smaller community, so unusual problems have fewer existing answers than React
How much do Fumadocs and Preact cost?
Fumadocs is free to use; Preact 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
Preact
Free- PreactFree
- Full library
- Commercial use permitted
- No usage limits
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 Preact if
- You need 3kb runtime.
- You want to start without paying.
- You also want preact/compat.
Questions people ask
- Is Fumadocs or Preact better?
- It depends on the job. Fumadocs fits documentation that must sit behind login and show different content to different customer plans; Preact fits embedded widgets that load inside someone else’s page and must stay small. Fumadocs starts at Free and Preact at Free.
- Which is cheaper, Fumadocs or Preact?
- Fumadocs starts at Free and Preact at Free.
- Does Fumadocs or Preact run on more platforms?
- Fumadocs runs on Web, macOS, Windows, Linux. Preact 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 Preact is typically brought in for.
- What can Fumadocs do that Preact cannot?
- Fumadocs covers Next.js App Router native, Multiple content sources, OpenAPI page generation, Built in search. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.
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.
Preact: Is Preact free?
Yes, open source under the MIT licence.
Fumadocs: Does it work outside Next.js?
No. The UI layer depends on the Next.js App Router.
Preact: Can I use React libraries with Preact?
Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.
Fumadocs: Can it generate pages from an OpenAPI spec?
Yes, including operation pages, schema rendering and an interactive request playground.
Preact: Why choose Preact over React?
Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.
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.
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 Read the Docs
- Fumadocs vs Adobe FrameMaker
- Fumadocs vs MadCap Flare
- Fumadocs vs Doxygen
- Fumadocs vs Guidde
- Fumadocs vs Adobe RoboHelp
- Fumadocs vs SolidJS
- Fumadocs vs Vue.js
- Fumadocs vs React
- Fumadocs vs Qwik
- Fumadocs vs Lit
- Fumadocs vs Svelte
- Fumadocs vs Alpine.js
- Fumadocs vs Stencil
- Fumadocs vs jQuery
- Fumadocs vs MUI
- Fumadocs vs Angular
- Fumadocs vs Bootstrap
- Fumadocs vs Babel
- Fumadocs vs Cloudflare Pages
- Fumadocs vs Eleventy
- Fumadocs vs HeroUI
- Fumadocs vs Memberstack
- Fumadocs vs PHP
- Preact vs Nextra
- Preact vs Starlight
- Preact vs Mintlify
- Preact vs VitePress
- Preact vs GitBook
- Preact vs Scalar
- Preact vs ReadMe
- Preact vs Redocly
- Preact vs Bump.sh
- Preact vs Archbee
- Preact vs Antora
- Preact vs MkDocs
- Preact vs Read the Docs
- Preact vs Adobe FrameMaker
- Preact vs MadCap Flare
- Preact vs Doxygen
- Preact vs Guidde
- Preact vs Adobe RoboHelp
- Preact vs SolidJS
- Preact vs Vue.js
- Preact vs React
- Preact vs Qwik
- Preact vs Lit
- Preact vs Svelte
- Preact vs Alpine.js
- Preact vs Stencil
- Preact vs jQuery
- Preact vs MUI
- Preact vs Angular
- Preact vs Bootstrap
- Preact vs Babel
- Preact vs Cloudflare Pages
- Preact vs Eleventy
- Preact vs HeroUI
- Preact vs Memberstack
- Preact vs PHP
