Anchor links are clickable links that jump to specific sections within the same page (like a table of contents). When clicked, the page scrolls to the target section, often with smooth scrolling animation. Common in long-form content like documentation, landing pages, and articles. They help users navigate quickly without endless scrolling and provide an overview of page structure.
Use anchor links on long pages (3+ screenfuls) with distinct sections, documentation with hierarchical structure, landing pages with multiple features/benefits, or any content where users want to jump directly to relevant sections. They're essential for improving scanability and reducing scroll fatigue. Not needed for short pages or infinite-scroll feeds.
Navigation Patterns
Jump-to navigation—smooth scroll to sections, table of contents, one-page sites, in-page navigation