Breadcrumbs
An ordered path of ancestor links and a non-linked current page.
Ancestor links lead to real pages; the current item is text.
Each preview is its own Live page in a frame, because this site is a Vue 3.5 app built on the Pulsar starter kit. An open list or popover stays inside its frame; in your application it opens over the page.
Installation
suprnova live:add breadcrumbsUsage
{% import "suprnova-ui/breadcrumbs/breadcrumbs.html" as breadcrumbs %}
{% call crumbs::breadcrumbs("trail") %}{% call crumbs::crumb("/components", "Components") %}{% endcall %}{% call crumbs::crumb_current("Breadcrumbs") %}{% endcall %}{% endcall %}Examples
Short path
A two-level path with a label that distinguishes its navigation region.
Keyboard and accessibility
suprnova.breadcrumbs - the path to the current document (NAV-001): ancestors are anchors with canonical URLs, the current item is text with aria-current and no self link.
API reference
breadcrumbs
| Parameter | Default | Description |
|---|---|---|
id | Required | Unique navigation ID. |
label | "Breadcrumb" | Accessible name of the breadcrumb region. |
crumb
| Parameter | Default | Description |
|---|---|---|
href | Required | Canonical URL of an ancestor page. |
text | Required | Visible ancestor name. |
crumb_current
| Parameter | Default | Description |
|---|---|---|
text | Required | Current page name, rendered without a link. |
