Breadcrumbs
Where a page sits (Mantine's Breadcrumbs, the WAI-ARIA breadcrumb pattern): links in a labelled nav, the last one the current page. Any separator or a chevron; a long path collapses into an expandable "…".
A page header
A deep path, collapsed: max-items
Separators and sizes
The last crumb is the current page unless one says current (the last row).
API
For AI agents: this API as Markdown, or every component in llms-full.txt.
<ray-breadcrumbs>
A <nav aria-label="Breadcrumb"> around a list. The last crumb is the current page (aria-current="page") unless one says current.
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
separator | separator | string | / | Text between crumbs ("/", "›", "·") or "chevron" (an icon). |
maxItems | max-items | number | Longer paths show the first crumb, "…" (a button that expands them) and the last max-items − 1. | |
label | label | string | Breadcrumb (text breadcrumbs.label) | Accessible name of the nav. |
size | size reflects | xs | sm | md | lg | sm | Font size. |
| Slot | Description |
|---|---|
| (default) | ray-breadcrumb elements. |
| Part | Description |
|---|---|
nav | The <nav>. |
list | The <ol>. |
<ray-breadcrumb>
A link with href (text without, or when current).
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
href | href reflects | string | Where it leads. | |
current | current reflects | boolean | This crumb is the current page (default: the last). |
| Slot | Description |
|---|---|
| (default) | The text. |
icon | An icon before the text. |
| Part | Description |
|---|---|
link | The link (or the text of the current page). |
separator | The separator before it. |
more | The "…" button of a collapsed path. |
Texts
What it writes itself, in English; setStrings() translates them (Getting started: Languages).
| Key | English |
|---|---|
breadcrumbs.label | Breadcrumb |
breadcrumbs.more | Show the whole path |