Welcome

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.

FeatureDescription
Runtime-agnosticBun, Node.js, or Deno — same CLI, same output
React 19 SSRServer-side rendering with client hydration
Filesystem routingAuto-discover pages from docs/ folder
Plugin systemExtend the build pipeline and dev server via hooks
Built-in searchFull-text search index generated at build time
Config-driven themesSwitch presets or use custom colors
Static buildPre-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.

Last updated Jul 9, 2026