Fumadocs

Inline TOC

Add Inline TOC into your documentation

Install to your codebase

Easier customisation & control.

Usage

Pass TOC items to the component.

import { InlineTOC } from 'fumadocs-ui/components/inline-toc';

<InlineTOC items={toc} />

Use in Pages

You can add inline TOC into every page.

<DocsPage>
  ...
  <InlineTOC items={toc} />
  ...
</DocsPage>

Reference

Prop

Type

How is this guide?

Last updated on