Plugins & Components

Extend document0 with plugins and pre-built UI components. Install source code directly. No npm dependencies, full customization, zero lock-in.

$npx @document0/cli add document0/sidebar

Add a plugin or component to your project

document0/admonitions

mdx

GitHub-style blockquote callouts. Converts > [!NOTE], > [!WARNING] etc. into <Callout> JSX elements.

remarkmdxcallouts

document0/reading-time

core

Adds readingTime (minutes) and wordCount to your processed MDX output.

reading-timeword-countmetadata

document0/content-graph

core

Builds a directed graph of internal links across all pages. Enables backlinks, broken link detection, and related pages.

graphbacklinksbroken-links

document0/sidebar

ui

Collapsible navigation sidebar with active state tracking and mobile drawer support. Renders your page tree with support for folders, separators, and icons.

navigationsidebarlayout

document0/toc

ui

Table of contents component with scroll-spy highlighting. Shows heading hierarchy extracted from MDX content.

navigationtocheadings

document0/breadcrumbs

ui

Breadcrumb navigation showing the current page path. Uses getBreadcrumbs() from @document0/core.

navigationbreadcrumbsreact

document0/page-navigation

ui

Previous/Next page links for sequential navigation. Uses getPageNeighbours() from @document0/core.

navigationpaginationreact

document0/search-dialog

ui

Command-palette style search dialog with keyboard navigation. Uses createSearchRoute() from @document0/core.

searchdialogkeyboard

fumadocs/steps

ui

Numbered step-by-step container with vertical connecting line and CSS counters.

stepsguidemdx

fumadocs/files

ui

File tree display with collapsible folders. Uses Base UI Collapsible for animations.

filestreemdx

fumadocs/tabs

ui

Tabbed content with groupId syncing across instances, sessionStorage persistence, and URL hash support.

tabsmdxreact

fumadocs/accordion

ui

Accordion group with animated expand/collapse, URL hash linking, and copy-link button.

accordionfaqmdx

fumadocs/banner

ui

Dismissible announcement banner with optional rainbow gradient animation. Persists dismissal in localStorage.

bannerannouncementreact

fumadocs/codeblock

ui

Code block with title bar, syntax icon, copy button, and tabbed multi-file support. Uses Base UI Tabs.

codecodeblocksyntax

document0-vue/sidebar

ui

Collapsible navigation sidebar with active state tracking and animated expand/collapse. Vue port of the document0 sidebar.

sidebarnavigationtree

document0-vue/toc

ui

Table of contents with scroll-spy highlighting. Shows heading hierarchy extracted from MDX content. Vue port.

toctable-of-contentsscroll-spy

document0-vue/breadcrumbs

ui

Breadcrumb navigation showing the current page path. Vue port of the document0 breadcrumbs.

breadcrumbsnavigationvue

document0-vue/page-navigation

ui

Previous/Next page links for sequential navigation. Vue port of the document0 page-navigation.

navigationpreviousnext

document0-vue/search-dialog

ui

Command-palette style search dialog with keyboard navigation. Vue port of the document0 search-dialog.

searchdialogcommand-palette

document0/openrouter-chat

core

Server-side API route helper with Vercel AI SDK that proxies chat to OpenRouter with a built-in /search tool for documentation context.

aichatopenrouter

document0/ai-chat

ui

Floating AI chat widget that works with the Vercel AI SDK. Includes streaming, tool-calls, and markdown rendering. Powered by OpenRouter via the openrouter-chat plugin.

aichatwidget