---
title: Inline TOC
description: Add Inline TOC into your documentation
preview: inlineTOC
---
## Usage
Pass TOC items to the component.
```mdx
import { InlineTOC } from 'fumadocs-ui/components/inline-toc';
```
### Use in Pages
You can add inline TOC into every page.
```tsx
...
...
```
## Reference
{/* */}