-
Notifications
You must be signed in to change notification settings - Fork 0
components breadcrumb
GitHub Actions edited this page Sep 18, 2026
·
2 revisions
Import: import { Breadcrumb } from "@tundralibs/ui/breadcrumb"
Rendered in every variant on the catalogue (deno task build:demos, then demo/index.html). Guides: Getting started · rAPId integration · Theming.
Breadcrumb(props: { items: BreadcrumbItem[]; attrs?: Attrs }): Html| Prop | Type | Required | Description |
|---|---|---|---|
label |
string |
yes | |
href |
string |
Each example as the rAPId call and the HTML it renders — the markup a plain page writes by hand. Icons are inline SVG in the real output; they are shortened to <svg …>…</svg> here.
Breadcrumb({ items: [{ label: "Invoices", href: "/invoices" }, { label: "INV-2048" }] })<nav aria-label="Breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb__item">
<a class="breadcrumb__link" href="/invoices">Invoices</a>
</li>
<li class="breadcrumb__item" aria-current="page">INV-2048</li>
</ol>
</nav>Classes defined by components/breadcrumb/breadcrumb.css — structural, token-driven; override from an unlayered stylesheet (see Theming):
.breadcrumb, .breadcrumb__item, .breadcrumb__link
Guides
Reference