mirror of
https://github.com/tabler/tabler.git
synced 2025-12-26 11:16:12 +04:00
37 lines
999 B
Markdown
37 lines
999 B
Markdown
---
|
||
title: Breadcrumb
|
||
menu: docs.breadcrumb
|
||
description: Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS.
|
||
done: true
|
||
---
|
||
|
||
### Default markup
|
||
|
||
The dividers are automatically created in the content of the `::before` pseudo-element of li tags. You can inform the current page using the `active` modifier in a `li` tag. It will disable the navigation of inner links.
|
||
|
||
{% example %}
|
||
{% include ui/breadcrumb.html %}
|
||
{% endexample %}
|
||
|
||
### Breadcrumb variations
|
||
|
||
You can add more variations by modify `$breadcrumb-variants` variable in Tabler config.
|
||
|
||
{% example %}
|
||
{% include ui/breadcrumb.html class="breadcrumb-dots" %}
|
||
{% endexample %}
|
||
|
||
{% example %}
|
||
{% include ui/breadcrumb.html class="breadcrumb-arrows" %}
|
||
{% endexample %}
|
||
|
||
{% example %}
|
||
{% include ui/breadcrumb.html class="breadcrumb-bullets" %}
|
||
{% endexample %}
|
||
|
||
### Alternate version
|
||
|
||
{% example %}
|
||
{% include ui/breadcrumb.html class="breadcrumb-alternate" %}
|
||
{% endexample %}
|