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 Methods (Fluent)
| Method / Property | Parameters | Description |
|---|---|---|
$m->breadcrumb($id) | string | Create a breadcrumb component. |
->home($url, $text) | string, string | Add a home item with fa-home icon. Default text: "Home". |
->item($text, $url, $icon) | string, ?string, ?string | Add 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"). |