Documentation for @docubook/flame — a runtime-agnostic React + MDX framework for modern documentation sites.
@docubook/flame is the core framework of the DocuBook ecosystem. It is a lightweight runtime for building documentation websites using React 19, MDX, and filesystem-based routing — runs on Bun, Node.js, and Deno.
Feature
Description
Runtime-agnostic
Bun, Node.js, or Deno — same CLI, same output
React 19 SSR
Server-side rendering with client hydration
Filesystem routing
Auto-discover pages from docs/ folder
Plugin system
Extend the build pipeline and dev server via hooks
Built-in search
Full-text search index generated at build time
Config-driven themes
Switch presets or use custom colors
Static build
Pre-render all pages to static HTML for deployment
@docubook/core
Shared MDX compile pipeline and markdown utilities. Handles compilation, rehype/remark plugin orchestration, and frontmatter parsing used by all DocuBook packages.
@docubook/mdx-content
Portable MDX components and framework adapters. Pre-built components like cards, tabs, accordions, steps, notes, and code blocks for rich documentation.
@docubook/mdx-remote
Runtime MDX compilation and rendering. A rewrite of next-mdx-remote for server-side MDX evaluation in DocuBook.
@docubook/runt
Runtime HTTP server adapters — Bun.serve, Node HTTP, and Deno HTTP. The abstraction that makes Flame runtime-agnostic.
@docubook/themes-colors
Theme color presets and color utilities — hex-to-HSL conversion, CSS variable generation, and 3 built-in presets (Default Blue, Fresh Lime, Coffee).
@docubook/ui-react
React + daisyUI component library for documentation sites — sidebar, table of contents, navbar, footer, search modal, and MDX content renderers.