Historical template
Inline TOC
Add Inline TOC into your documentation
Historical Fumadocs template
Historical template documentation, retained for existing links. It is not current ClaudeSkills product guidance.
This article has no translation in the selected language. The English body is shown.
The navigation uses English labels. Article languages are shown separately; the interface is not a full translation of the documentation.
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>