breadcrumbs() html()
A breadcrumb trail; the last item without a link is the current page.
html()->breadcrumbs($data = [], $extra = [])Опції
| Опція | Значення |
|---|---|
$data | Items ['link', 'name']; names are escaped. |
class, id | Classes; id. |
Приклад
Код
return html()->breadcrumbs([
['link' => '#home', 'name' => 'Home'],
['link' => '#library', 'name' => 'Library'],
['name' => 'Data'],
]);Bootstrap 3 and 5
Bootstrap 3 breadcrumbs; Bootstrap 5 breadcrumb-item with aria-current.
Див. також: html/navbar