pattern-library checked

In-page navigation

Documents in-page navigation for lengthy content pages, sticky same-page section links, smooth scrolling to target sections, generated links based on main content headings, and current-section highlighting using Intersection Observer behavior.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
In-page anchor navigation Choose in-page anchor navigation when one page has several meaningful sections, usually at least two H2-level destinations and enough length to justify jump links. Activating an anchor link navigates within the current page to the matching section target. USWDS documents lengthy-page in-page navigation, same-page scrolling, sticky placement, generated links from main content, and active section highlighting.

Evidence Role

This source is treated as pattern-library evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: U.S. Web Design System. Last checked: .