Breadcrumb

Hierarchical navigation trail showing where the user is within the application. Server-side rendered, accessible, and dark-mode aware.

Multi-level Navigation

With Custom Icons

Simple Two-Level

PHP

PHP PHP Methods (Fluent)

Method / PropertyParametersDescription
$m->breadcrumb($id)stringCreate a breadcrumb component.
->home($url, $text)string, stringAdd a home item with fa-home icon. Default text: "Home".
->item($text, $url, $icon)string, ?string, ?stringAdd a breadcrumb item. If $url is null, item is rendered as plain text (current page).
->current()Explicitly mark the last item as the current page (adds aria-current="page").