2014-07-12 10:03:13 +02:00
---
2015-08-15 07:45:55 +02:00
layout: docs
2014-07-12 10:03:13 +02:00
title: Breadcrumb
2017-05-28 08:01:14 +02:00
description: Indicate the current page's location within a navigational hierarchy that automatically adds separators via CSS.
2015-08-06 02:47:45 +02:00
group: components
2014-07-12 10:03:13 +02:00
---
2017-05-28 08:01:14 +02:00
Separators are automatically added in CSS through [`::before` ](https://developer.mozilla.org/en-US/docs/Web/CSS/::before ) and [`content` ](https://developer.mozilla.org/en-US/docs/Web/CSS/content ).
2015-12-08 11:20:25 +01:00
2014-07-12 10:03:13 +02:00
{% example html %}
< ol class = "breadcrumb" >
2015-12-08 11:20:25 +01:00
< li class = "breadcrumb-item active" > Home< / li >
2014-07-12 10:03:13 +02:00
< / ol >
< ol class = "breadcrumb" >
2015-12-08 11:20:25 +01:00
< li class = "breadcrumb-item" > < a href = "#" > Home< / a > < / li >
< li class = "breadcrumb-item active" > Library< / li >
2014-07-12 10:03:13 +02:00
< / ol >
2015-12-08 11:20:25 +01:00
< ol class = "breadcrumb" >
< li class = "breadcrumb-item" > < a href = "#" > Home< / a > < / li >
< li class = "breadcrumb-item" > < a href = "#" > Library< / a > < / li >
< li class = "breadcrumb-item active" > Data< / li >
2014-07-12 10:03:13 +02:00
< / ol >
2016-01-07 08:58:07 +01:00
{% endexample %}
Similar to our navigation components, breadcrumbs work fine with or without the usage of list markup.
{% example html %}
< nav class = "breadcrumb" >
2015-12-08 11:20:25 +01:00
< a class = "breadcrumb-item" href = "#" > Home< / a >
< a class = "breadcrumb-item" href = "#" > Library< / a >
< a class = "breadcrumb-item" href = "#" > Data< / a >
< span class = "breadcrumb-item active" > Bootstrap< / span >
2016-01-07 08:58:07 +01:00
< / nav >
2014-07-12 10:03:13 +02:00
{% endexample %}