The breadcrumb component only requires a .breadcrumb
container and a ul
list.
The dividers are automatically created in the content of the ::before
pseudo-element of li
tags.
You can inform the current page using the is-active
modifier in a li
tag. It will disable the navigation of inner links.
For alternative alignments, use the is-centered
and is-right
modifiers on the .breadcrumb
container.
{% include elements/snippet.html content=breadcrumb_centered_example horizontal=true clipped=true %}
{% include elements/snippet.html content=breadcrumb_right_example horizontal=true clipped=true %}
{% include elements/anchor.html name="Icons" %}
You can use any of the Font Awesome icons.
{% include elements/snippet.html content=breadcrumb_icons_example horizontal=true clipped=true %}
{% include elements/anchor.html name="Alternative separators" %}
You can choose between 4 additional separators: has-arrow-separator
has-bullet-separator
has-dot-separator
and has-succeeds-separator
.
{% include elements/snippet.html content=breadcrumb_arrow_example horizontal=true clipped=true %}
{% include elements/snippet.html content=breadcrumb_bullet_example horizontal=true clipped=true %}
{% include elements/snippet.html content=breadcrumb_dot_example horizontal=true clipped=true %}
{% include elements/snippet.html content=breadcrumb_succeeds_example horizontal=true clipped=true %}
{% include elements/anchor.html name="Sizes" %}
You can choose between 3 additional sizes: is-small
is-medium
and is-large
.
{% include elements/snippet.html content=breadcrumb_small_example horizontal=true clipped=true %}
{% include elements/snippet.html content=breadcrumb_medium_example horizontal=true clipped=true %}
{% include elements/snippet.html content=breadcrumb_large_example horizontal=true clipped=true %}
{% include elements/variables.html type='component' %}