Navigation / The visual dictionary
Scrollspy.
Navigation that updates its highlighted section as the reader scrolls.
Also calledactive section trackingscroll-aware navigation
01
UI illustrationSee it in context
02
What it is
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.
03
Across platforms
Web
Web
Web implementations often observe section visibility; account for sticky headers when choosing the active section.
04
Go to the source
Primary documentation for the pattern and its platform conventions.