Saltar al contenido
Foldocs
En esta páginaUsage
Componentes

Inline TOC

Place the current page headings directly inside the document body.

InlineTOC renders the same heading data used by the desktop table of contents inside the page body. It is useful for long guides and remains available on small screens where the right sidebar is hidden.

Usage

mdx
<InlineTOC label="On this page" />

Properties

PropertyTypeDefaultDescription
labelstringOn this pageHeading displayed above links.
titlefalseHides the heading when false.

Behavior

The links use the generated heading IDs and the Foldocs navigation action, so selection updates the URL fragment and scrolls without a document reload.

Last updated 2 ago 2026