Ebenen
Pfad von der Wurzel bis zur aktuellen Seite (aria-current="page"); Trenner Slash in Mono oder Chevron.
Navigation
Real hierarchy above the page title, root on the left. The last level is the current page. From five levels the middle collapses into a menu; on mobile only the parent level is shown (back link). Use mono=True per item for technical identifiers.
Pfad von der Wurzel bis zur aktuellen Seite (aria-current="page"); Trenner Slash in Mono oder Chevron.
ab fünf Ebenen fasst „…“ die mittleren Ebenen in einem Menü zusammen; lange Labels kürzen bei 200 px.
Back-Variante zeigt nur die Elternebene (mobil automatisch); Mono für technische Bezeichner.
<tc-breadcrumb> mit <tc-breadcrumb-item>; letzte Ebene wird aktuelle Seite, ab fünf Ebenen klappt die Mitte ein.
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
items | 'None' | – | List of (label, href[, icon]) tuples, dicts or labels; tc_breadcrumb_item children are appended. |
separator | 'slash' | Slash (Mono "/", default) or chevron. | |
collapse | 5 | – | Collapse middle levels from this many levels on; 0 never collapses. |
back | False | – | Render only the back link to the parent level (Figma Levels=Back). |
mobile_back | True | – | Below 480 px width replace the path with the back link. |
label | '' | – | Accessible name of the navigation (default "Breadcrumb"). |
more_label | '' | – | Accessible name of the overflow button (default "Show hidden levels"). |
One level inside tc_breadcrumb.
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
label | '' | – | Visible label (max. 200 px, truncated with ellipsis). |
href | '' | – | Link target; omitted for the current page. |
icon | '' | – | Leading Carbon icon, e.g. "home". |
icon_right | '' | – | Trailing Carbon icon, e.g. "locked". |
mono | False | – | Mono font for technical identifiers. |
current | False | – | Mark as current page (default: the last item). |
Zusätzliche Attribute (z. B. class, aria-*, data-*) und HTMX-Kurzformen (get, post, get_url, post_url, target, swap, trigger, confirm) werden an das Element „root“ durchgereicht.