Fumadocs

Overview

An overview of Fumadocs UI

Architecture

Sidebar

Title
Sidebar Tabs
Search
Page Tree
Footer

Docs Page

Article Title
Description
Body
Edit on GitHub
Last Updated

Footer

Previous
Next

TOC

Banner
Items
Footer

Nav

Title
Search
Menu
TOC Trigger

Docs Page

Article Title
Description
Body
Edit on GitHub
Last Updated

Footer

Previous
Next

Nav

Title
Search
Menu

Sidebar

Sidebar Tabs
Search
Page Tree
Footer
SidebarDisplay site title and navigation elements.
Page TreePassed by you, mainly rendered as the items of sidebar.
Docs PageAll content of the page.
TOCNavigation within the article.

Customisation

Layouts

You can use the exposed options of different layouts:

Components

Fumadocs UI also offers styled components for interactive examples to enhance your docs, you can customise them with exposed props like style and className.

See Components.

Design System

Since the design system is built on Tailwind CSS, you can customise it with CSS Variables.

CLI

Fumadocs CLI is a tool that installs components to your codebase, similar to Shadcn UI.

npx @fumadocs/cli
pnpm dlx @fumadocs/cli
yarn dlx @fumadocs/cli
bun x @fumadocs/cli

Use it to install Fumadocs UI components:

npx @fumadocs/cli add
pnpm dlx @fumadocs/cli add
yarn dlx @fumadocs/cli add
bun x @fumadocs/cli add

Or customise layouts:

npx @fumadocs/cli customise
pnpm dlx @fumadocs/cli customise
yarn dlx @fumadocs/cli customise
bun x @fumadocs/cli customise

How is this guide?