1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 01:44:25 +04:00
Files
tabler/pages/_docs/breadcrumb.md
2020-02-23 17:53:39 +01:00

1.6 KiB

title, menu, description, bootstrap-link
title menu description bootstrap-link
Breadcrumb docs.breadcrumb 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. components/breadcrumb/

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.

{% capture code %} {% include ui/breadcrumb.html %} {% endcapture %} {% include example.html code=code centered=true %}

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.

{% capture code %} {% include ui/breadcrumb.html class="breadcrumb-dots" %} {% endcapture %} {% include example.html code=code centered=true %}

{% capture code %} {% include ui/breadcrumb.html class="breadcrumb-arrows" %} {% endcapture %} {% include example.html code=code centered=true %}

{% capture code %} {% include ui/breadcrumb.html class="breadcrumb-bullets" %} {% endcapture %} {% include example.html code=code centered=true %}

Alternate version

Use the breadcrumb-alternate class to make the breadcrumb colours more neutral, retaining its function of showing the current location within an interface.

{% capture code %} {% include ui/breadcrumb.html class="breadcrumb-alternate" %} {% endcapture %} {% include example.html code=code centered=true %}