Base Pure CSS

Breadcrumbs

The page trail with a direction-aware separator and aria-current — like a file path in a docs manager.

Real scenarios

The component as it is used in a product — not a specimen grid.

Deep in the contract folder

Every crumb before the last is a working link back up the tree; the current page states itself with aria-current.

nabu-msa-1404.pdf 2.4 MB · signed

One level down, enough

Settings pages rarely go deeper than two crumbs — resist inventing a third.

Where it sits in the page

Between the page header and the content — never inside the h1 row.

Team spaces

12 members landed here from search this week.

Important props

Important props
Prop Type Default What it does
items array [] A list of ['label' => …, 'href' => …]; the last one is the current page.

Snippet

<x-nx::breadcrumbs :items="[
    ['label' => 'اسناد', 'href' => '/docs'],
    ['label' => 'قراردادها', 'href' => '/docs/contracts'],
    ['label' => 'نابو — ۱۴۰۴'],
]" />