Skip to main content
ReadingOutline renders a scroll-spy outline that highlights the current section as the reader scrolls. Pair it with SiteDocSection components whose IDs match your items.

Usage

Render the outline and matching sections inside the provider:

Props

Layouts

Compose pages with SiteDocSection and other site components.

Scroll Reset

Reset scroll to top on route change.
Last modified on September 20, 2026