Table of Contents
Auto-generated navigation from page headings. The TOC on the left is live!
Key Features
The Table of Contents component automatically extracts headings from your content and creates a clickable navigation menu with active section highlighting.
Automatic Generation
No manual configuration needed - the component finds all headings in the specified content area and builds the navigation structure automatically.
Scroll Tracking
As users scroll, the current section is highlighted in the table of contents, helping them understand where they are in the document.
Usage Examples
Perfect for:
- Documentation pages
- Long blog posts and articles
- User guides and tutorials
- Legal documents and policies
Configuration
Customize the selector to target your content area, set the maximum heading level to include, and enable sticky positioning to keep the TOC visible while scrolling.