---json { "page_id": "6kfagq5oxa8r233wnq86l" } --- ====== ComboStrap UI - Hierarchical Breadcrumb ====== ===== About ===== A ''Hierarchical Breadcrumb'' is a [[docs:navigation:breadcrumb|breadcrumb]] that shows where the page is located in the [[:docs:page:system:system|page system tree]] in hierarchical order. The label shown is the [[:docs:page:name|page name]]. Combostrap offers two types of hierarchical breadcrumbs: * ''navigation'': the full breadcrumb that should appear once on a page * ''typographical'': a text that can be used in a [[:docs:templating:iterator|iterator fragment]] to show the page categories ===== Type ===== ==== Navigation ==== A navigational hierarchical breadcrumb: * is a [[docs:navigation:navigation|navigational component]] that reflects the hierarchy of the URL to the [[:docs:page:system:home|website home page]] * gives the reader the possibility to navigate to the parent (ie up to the [[:docs:page:system:home|website home page]]) * helps the reader to find their place within a website or web application. Illustration: Breadcrumbs are often placed horizontally [[:docs:theme:element:main-header|before a page's main content (in the main header)]]. You will find it on this page at this location: {{docs:block:combostrap_hierarchical_breadcrumb.png?shadow=lg|}} You can add a navigational hierarchical breadcrumb with the following syntax. The output for this page is: ==== Typography ==== A typographical hierarchical breadcrumb permits to print the parent's pages as text. This breadcrumb type can be used in a [[:docs:templating:iterator|iterator fragment]] to print the page category as a subtitle. The ''depth'' attribute represents the number of levels that should be printed backward Example: Depth of 1 will print the parent page * Markup * Output
Depth of 2 will print the parent and grandparent page * Markup * Output: