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
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.

Page Tree

Navigation elements like sidebar take a Page Tree to render navigation links, it's a tree that describes all available pages and folders.

Normally, it is generated from your file structure using loader(), you can learn how to organize pages.

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

Use it to install Fumadocs UI components:

npx @fumadocs/cli add

Or customise layouts:

npx @fumadocs/cli customise

How is this guide?

On this page