hzDocs
Tests

Ref To Fumadocs

Refs

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>

Usage

Usage

Pass TOC items to the component.

import { InlineTOC } from 'fumadocs-ui/components/inline-toc'; <InlineTOC items={toc} />

Use in Pages

Use in Pages

You can add inline TOC into every page.

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

How is this guide?

Edit on GitHub

Last updated on

On this page