The breadcrumbs component helps users to understand where they are within a website’s structure and move between levels.
{{ aspExample({ code: "", nunjucks: "{{ aspBreadcrumbs({Use the breadcrumbs component when you need to help users understand and move between the multiple levels of a website.
we breadcrumbs are required, ensure that a location-based approach to breadcrumbs is adopted. (rather than attribute-based or path-based).
Do not use the breadcrumbs component on websites with a flat structure, or to show progress through a linear journey or transaction (such as a form).
If you’re using other navigational elements on the page, such as a sidebar, consider whether your users need the additional support of breadcrumbs.
Always place breadcrumbs at the top of a page, within the <main>
element. Placing them here means that the ‘Skip to main content’ link allows the user to skip all navigation links, including breadcrumbs.
The breadcrumb should start with your ‘home’ page and end with the parent section of the current page.
The below criteria all need to be met for a component to be considered as fully developed for use within the ASP Digital Design System.