--- layout: documentation doc-tab: components doc-subtab: breadcrumb --- {% include subnav-components.html %}

Breadcrumb

A simple breadcrumb component to improve your navigation experience


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.


{% capture breadcrumb_example %} {% endcapture %}
{{breadcrumb_example}}
{% highlight html %} {{breadcrumb_example}} {% endhighlight %}

Alignment

For alternative alignments, use the is-centered and is-right modifiers on the .breadcrumb container.

{% capture breadcrumb_centered_example %} {% endcapture %}
{{breadcrumb_centered_example}}
{% highlight html %} {{breadcrumb_centered_example}} {% endhighlight %} {% capture breadcrumb_right_example %} {% endcapture %}
{{breadcrumb_right_example}}
{% highlight html %} {{breadcrumb_right_example}} {% endhighlight %}

Icons

You can use any of the Font Awesome icons.

{% capture breadcrumb_icons_example %} {% endcapture %}
{{breadcrumb_icons_example}}
{% highlight html %} {{breadcrumb_icons_example}} {% endhighlight %}

Sizes

You can choose between 3 additional sizes: is-small is-medium and is-large.

{% capture breadcrumb_small_example %} {% endcapture %}
{{breadcrumb_small_example}}
{% highlight html %} {{breadcrumb_small_example}} {% endhighlight %} {% capture breadcrumb_medium_example %} {% endcapture %}
{{breadcrumb_medium_example}}
{% highlight html %} {{breadcrumb_medium_example}} {% endhighlight %} {% capture breadcrumb_large_example %} {% endcapture %}
{{breadcrumb_large_example}}
{% highlight html %} {{breadcrumb_large_example}} {% endhighlight %}

Alternative separators

You can choose between 4 additional separators: has-arrow-separator has-bullet-separator has-dot-separator and has-succeeds-separator.

{% capture breadcrumb_arrow_example %} {% endcapture %}
{{breadcrumb_arrow_example}}
{% highlight html %} {{breadcrumb_arrow_example}} {% endhighlight %} {% capture breadcrumb_bullet_example %} {% endcapture %}
{{breadcrumb_bullet_example}}
{% highlight html %} {{breadcrumb_bullet_example}} {% endhighlight %} {% capture breadcrumb_dot_example %} {% endcapture %}
{{breadcrumb_dot_example}}
{% highlight html %} {{breadcrumb_dot_example}} {% endhighlight %} {% capture breadcrumb_succeeds_example %} {% endcapture %}
{{breadcrumb_succeeds_example}}
{% highlight html %} {{breadcrumb_succeeds_example}} {% endhighlight %}