Skip to content

Breadcrumb

SBreadcrumb is a navigation trail from the root to the current page. Plain CSS on semantic markup (nav > ol): intermediate crumbs are links, the last one is marked aria-current="page". The separator is a reusable SIcon (replace it with your own through the #separator slot).

Basic usage

Custom separator

Icons

The item's icon field renders a leading icon for the crumb (a registry name or a raw path).

API

Props

NameTypeDefaultDescription
items{ label: string; href?: string; icon?: string }[][]Path items from the root to the current page; the last one is treated as the current page.
aria-labelstringundefinedAccessible name of the navigation (aria-label; defaults to the locale dictionary).

Slots

NameDescription
separatorCustom separator between crumbs (an SIcon chevron by default).