Skip to main content

Breadcrumb

A basic helper to render a list of breadcrumb links. A view should set a breadcrumbs object which will then be rendered by the base template.

Basic usage

{%
set breadcrumbs = [
{'label': 'foo', 'href': '#foo'},
{'label': 'bar', 'href': '#bar'},
{'label': 'baz', 'href': '#baz'}
]
%}

{{ nav.breadcrumbs(breadcrumbs|default) }}

Accessibility

Refer to the Jadu Accessibility Guidelines (internal) for detailed guidance on the accessibility requirements of this component.