Jump links are a set of in-page navigational links that allow users to quickly scroll to specific headings or sections within a page, improving access to key content. This component is especially useful for long pages, enabling users to jump directly to important areas without manual scrolling. Jump links are typically displayed at the top of the page or in a sticky navigation bar, providing a streamlined user experience.
.bt1d-jump-links
Below is the HTML structure for the jump links component:
<section class="bt1d-jump-links">
<h2 class="jump-links__title">Jump Link Title</h2>
<ul class="jump-links__list">
<li class="jump-links__list-item"><a href="#heading-1">Heading 1</a></li>
<li class="jump-links__list-item"><a href="#heading-2">Heading 2</a></li>
<li class="jump-links__list-item"><a href="#heading-3">Heading 3</a></li>
<li class="jump-links__list-item"><a href="#heading-1">Heading 4</a></li>
<li class="jump-links__list-item"><a href="#heading-2">Heading 5</a></li>
<li class="jump-links__list-item"><a href="#heading-3">Heading 6</a></li>
</ul>
</section>
Key Features
jump-links__title
) that can be customized to suit the context, providing a clear introduction to the list of jump links.<ul class="jump-links__list">
), making it easy to maintain and extend. Each list item (<li class="jump-links__list-item">
) contains one link to a specific section. This semantic structure ensures accessibility and allows screen readers to interpret the navigation easily.jump-links__list-item
) corresponds to a section within the page, and you can create as many items as needed. These items visually represent the in-page navigation and offer users a structured, easy-to-scan set of links to the most important sections.If you’re stuck or need assistance, don’t hesitate to reach out to our support team for guidance.