Breadcrumbs are used to show the current website or app location and reduce the number of actions users have to take. Thanks to breadcrumbs, they can easily navigate within the website hierarchy and better understand its structure.
Default markup
Add the :before
pseudo-element in li
tags to use the default separators. The active
modifier in a li
tag will help you indicate the current page location and facilitate navigation within your website or app.
<ol class= "breadcrumb" aria-label= "breadcrumbs" >
<li class= "breadcrumb-item" ><a href= "#" > Home</a></li>
<li class= "breadcrumb-item" ><a href= "#" > Library</a></li>
<li class= "breadcrumb-item active" aria-current= "page" ><a href= "#" > Data</a></li>
</ol>
Breadcrumb variations
If you wish to use different separators, modify the $breadcrumb-variants
variable in the Tabler config. Depending on the aesthetics of your design, you can choose dots, bullets or arrows.
<ol class= "breadcrumb breadcrumb-dots" aria-label= "breadcrumbs" >
<li class= "breadcrumb-item" ><a href= "#" > Home</a></li>
<li class= "breadcrumb-item" ><a href= "#" > Library</a></li>
<li class= "breadcrumb-item active" aria-current= "page" ><a href= "#" > Data</a></li>
</ol>
<ol class= "breadcrumb breadcrumb-arrows" aria-label= "breadcrumbs" >
<li class= "breadcrumb-item" ><a href= "#" > Home</a></li>
<li class= "breadcrumb-item" ><a href= "#" > Library</a></li>
<li class= "breadcrumb-item active" aria-current= "page" ><a href= "#" > Data</a></li>
</ol>
<ol class= "breadcrumb breadcrumb-bullets" aria-label= "breadcrumbs" >
<li class= "breadcrumb-item" ><a href= "#" > Home</a></li>
<li class= "breadcrumb-item" ><a href= "#" > Library</a></li>
<li class= "breadcrumb-item active" aria-current= "page" ><a href= "#" > Data</a></li>
</ol>
If you wish to use breadcrumbs in headers, place them above the headers.
<div class= "page-header" >
<div class= "row align-items-center mw-100" >
<div class= "col" >
<div class= "mb-1" >
<ol class= "breadcrumb" aria-label= "breadcrumbs" >
<li class= "breadcrumb-item" ><a href= "#" > Home</a></li>
<li class= "breadcrumb-item" ><a href= "#" > Library</a></li>
<li class= "breadcrumb-item active" aria-current= "page" ><a href= "#" > Articles</a></li>
</ol>
</div>
<h2 class= "page-title" >
<span class= "text-truncate" > Knights of Ni, we are but simple travelers who seek the enchanter who lives beyond these woods.</span>
</h2>
</div>
<div class= "col-auto" >
<div class= "btn-list" >
<a href= "#" class= "btn d-none d-md-inline-flex" >
<!-- Download SVG icon from http://tabler-icons.io/i/edit -->
<!-- SVG icon code -->
Edit
</a>
<a href= "#" class= "btn btn-primary" >
Publish
</a>
</div>
</div>
</div>
</div>