2017-06-27 20:29:15 +00:00
---
2017-10-17 09:28:59 +00:00
title: Breadcrumb
2017-06-27 20:29:15 +00:00
layout: documentation
doc-tab: components
doc-subtab: breadcrumb
---
2018-03-26 13:46:39 +00:00
{% include subnav/subnav-components.html %}
2017-06-27 20:29:15 +00:00
{% capture breadcrumb_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2017-07-28 16:45:45 +00:00
< li > < a href = "#" > Bulma< / a > < / li >
< li > < a href = "#" > Documentation< / a > < / li >
< li > < a href = "#" > Components< / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > Breadcrumb< / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
{% capture breadcrumb_centered_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb is-centered" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2017-07-28 16:45:45 +00:00
< li > < a href = "#" > Bulma< / a > < / li >
< li > < a href = "#" > Documentation< / a > < / li >
< li > < a href = "#" > Components< / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > Breadcrumb< / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
{% capture breadcrumb_right_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb is-right" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2017-07-28 16:45:45 +00:00
< li > < a href = "#" > Bulma< / a > < / li >
< li > < a href = "#" > Documentation< / a > < / li >
< li > < a href = "#" > Components< / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > Breadcrumb< / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
{% capture breadcrumb_icons_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2018-01-10 16:30:23 +00:00
< li > < a href = "#" > < span class = "icon is-small" > < i class = "fas fa-home" > < / i > < / span > < span > Bulma< / span > < / a > < / li >
< li > < a href = "#" > < span class = "icon is-small" > < i class = "fas fa-book" > < / i > < / span > < span > Documentation< / span > < / a > < / li >
< li > < a href = "#" > < span class = "icon is-small" > < i class = "fas fa-puzzle-piece" > < / i > < / span > < span > Components< / span > < / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > < span class = "icon is-small" > < i class = "fas fa-thumbs-up" aria-hidden = "true" > < / i > < / span > < span > Breadcrumb< / span > < / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
2017-07-02 23:17:42 +00:00
2017-06-27 20:29:15 +00:00
{% capture breadcrumb_small_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb is-small" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2017-07-28 16:45:45 +00:00
< li > < a href = "#" > Bulma< / a > < / li >
< li > < a href = "#" > Documentation< / a > < / li >
< li > < a href = "#" > Components< / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > Breadcrumb< / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
{% capture breadcrumb_medium_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb is-medium" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2017-07-28 16:45:45 +00:00
< li > < a href = "#" > Bulma< / a > < / li >
< li > < a href = "#" > Documentation< / a > < / li >
< li > < a href = "#" > Components< / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > Breadcrumb< / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
{% capture breadcrumb_large_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb is-large" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2017-07-28 16:45:45 +00:00
< li > < a href = "#" > Bulma< / a > < / li >
< li > < a href = "#" > Documentation< / a > < / li >
< li > < a href = "#" > Components< / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > Breadcrumb< / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
2017-07-02 23:17:42 +00:00
2017-06-27 20:29:15 +00:00
{% capture breadcrumb_arrow_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb has-arrow-separator" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2017-07-28 16:45:45 +00:00
< li > < a href = "#" > Bulma< / a > < / li >
< li > < a href = "#" > Documentation< / a > < / li >
< li > < a href = "#" > Components< / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > Breadcrumb< / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
{% capture breadcrumb_bullet_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb has-bullet-separator" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2017-07-28 16:45:45 +00:00
< li > < a href = "#" > Bulma< / a > < / li >
< li > < a href = "#" > Documentation< / a > < / li >
< li > < a href = "#" > Components< / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > Breadcrumb< / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
{% capture breadcrumb_dot_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb has-dot-separator" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2017-07-28 16:45:45 +00:00
< li > < a href = "#" > Bulma< / a > < / li >
< li > < a href = "#" > Documentation< / a > < / li >
< li > < a href = "#" > Components< / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > Breadcrumb< / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
{% capture breadcrumb_succeeds_example %}
2017-07-28 16:45:45 +00:00
< nav class = "breadcrumb has-succeeds-separator" aria-label = "breadcrumbs" >
2017-07-02 23:17:42 +00:00
< ul >
2017-07-28 16:45:45 +00:00
< li > < a href = "#" > Bulma< / a > < / li >
< li > < a href = "#" > Documentation< / a > < / li >
< li > < a href = "#" > Components< / a > < / li >
< li class = "is-active" > < a href = "#" aria-current = "page" > Breadcrumb< / a > < / li >
2017-07-02 23:17:42 +00:00
< / ul >
2017-06-27 20:29:15 +00:00
< / nav >
{% endcapture %}
2017-07-02 23:17:42 +00:00
< section class = "section" >
< div class = "container" >
2017-07-28 22:27:59 +00:00
< h1 class = "title" > Breadcrumb< / h1 >
< h2 class = "subtitle" >
A simple < strong > breadcrumb< / strong > component to improve your navigation experience
< / h2 >
{%
include meta.html
since="0.4.3"
variables=true
colors=false
sizes=true
%}
2017-07-02 23:17:42 +00:00
< hr >
< div class = "content" >
< p > The < strong > breadcrumb< / strong > component only requires a < code > .breadcrumb< / code > container and a < code > ul< / code > list.< / p >
< p > The dividers are automatically created in the content of the < code > ::before< / code > pseudo-element of < code > li< / code > tags.< / p >
< p > You can inform the current page using the < code > is-active< / code > modifier in a < code > li< / code > tag. It will disable the navigation of inner links.< / p >
< / div >
< hr >
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_example horizontal=true clipped=true %}
2017-07-02 23:17:42 +00:00
2017-08-30 21:21:30 +00:00
{% include anchor.html name="Alignment" %}
2017-07-02 23:17:42 +00:00
< div class = "content" >
< p > For alternative alignments, use the < code > is-centered< / code > and < code > is-right< / code > modifiers on the < code > .breadcrumb< / code > container.< / p >
< / div >
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_centered_example horizontal=true clipped=true %}
2017-07-02 23:17:42 +00:00
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_right_example horizontal=true clipped=true %}
2017-07-02 23:17:42 +00:00
2017-08-30 21:21:30 +00:00
{% include anchor.html name="Icons" %}
2017-07-02 23:17:42 +00:00
< div class = "content" >
2018-01-10 16:30:23 +00:00
< p > You can use any of the < a href = "https://fontawesome.com/" target = "_blank" > Font Awesome< / a > < strong > icons< / strong > .< / p >
2017-07-02 23:17:42 +00:00
< / div >
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_icons_example horizontal=true clipped=true %}
2017-07-02 23:17:42 +00:00
2017-08-30 21:21:30 +00:00
{% include anchor.html name="Alternative separators" %}
2017-07-02 23:17:42 +00:00
< div class = "content" >
2017-07-28 21:57:51 +00:00
< p > You can choose between < strong > 4 additional separators< / strong > : < code > has-arrow-separator< / code > < code > has-bullet-separator< / code > < code > has-dot-separator< / code > and < code > has-succeeds-separator< / code > .< / p >
2017-07-02 23:17:42 +00:00
< / div >
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_arrow_example horizontal=true clipped=true %}
2017-07-02 23:17:42 +00:00
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_bullet_example horizontal=true clipped=true %}
2017-07-02 23:17:42 +00:00
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_dot_example horizontal=true clipped=true %}
2017-07-02 23:17:42 +00:00
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_succeeds_example horizontal=true clipped=true %}
2017-07-28 21:57:51 +00:00
2017-08-14 17:25:14 +00:00
{% include anchor.html name="Sizes" %}
2017-07-02 23:17:42 +00:00
< div class = "content" >
2017-07-28 21:57:51 +00:00
< p > You can choose between < strong > 3 additional sizes< / strong > : < code > is-small< / code > < code > is-medium< / code > and < code > is-large< / code > .< / p >
2017-07-02 23:17:42 +00:00
< / div >
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_small_example horizontal=true clipped=true %}
2017-07-02 23:17:42 +00:00
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_medium_example horizontal=true clipped=true %}
2017-07-02 23:17:42 +00:00
2017-08-30 21:21:30 +00:00
{% include snippet.html content=breadcrumb_large_example horizontal=true clipped=true %}
2017-07-02 23:17:42 +00:00
2017-10-17 09:28:59 +00:00
{% include variables.html type='component' %}
2017-07-02 23:17:42 +00:00
< / div >
2017-06-27 20:29:15 +00:00
< / section >