Skip to content
Okaapiأوكابي
Framework for the code
Theme
Okaapi on GitHub

Chapter 07 Navigation

Breadcrumbs

Where the page sits, as a trail of links back up. A named navigation landmark around an ordered list; the last item is the page itself, marked as current and not a link. The slashes are drawn, not read out.

Use it in Angular
import { BreadcrumbsComponent } from '@okaapi-ui/angular';
// Put each link in an <li>. Works with routerLink or href.

An order

  1. Home
  2. Orders
  3. Order 1042
Angular
<ui-breadcrumbs>
  <li><a routerLink="/">Home</a></li>
  <li><a routerLink="/orders">Orders</a></li>
  <li><span aria-current="page">Order 1042</span></li>
</ui-breadcrumbs>

In Arabic

Angular
<ui-breadcrumbs label="مسار الصفحة">…</ui-breadcrumbs>

When to use something else

If you needUse
The main links of the appNavigation
Steps of a task in orderStepper
Pages of a long listPagination

Inputs

NameTypeDefaultWhat it does
labelstring'Breadcrumb' from labelsNames the landmark, translated.
<li> childrencontent — One per step; the last holds aria-current="page".

Keyboard and screen readers

  • A named navigation landmark around an ordered list; the last item is marked as the current page.
  • The slashes are drawn, not read out.