Navigation / The visual dictionary

Scrollspy.

Navigation that updates its highlighted section as the reader scrolls.

Also calledactive section trackingscroll-aware navigation
01

See it in context

UI illustration
Features
Current section follows your reading

Navigation that updates its highlighted section as the reader scrolls. Track the current content section and reflect it in an associated navigation list without moving the page unexpectedly.

When to use it

Use it to preserve orientation in a long document.

Know the difference

Scrollspy observes scrolling; clicking an anchor actively changes the scroll position.

Web

Web

Web implementations often observe section visibility; account for sticky headers when choosing the active section.

Primary documentation for the pattern and its platform conventions.