View laravel-hotwire on GitHub
1M
v0.91.0
Search 71 components and 72 controllers by name, category or description.
Breadcrumb
Semantic navigation trail with composable items, an optional compact menu and Turbo Frame targets
Items shortcut
Fast path for the common `label + href` list.
<hw:breadcrumb :items="[
['label' => 'Dashboard', 'href' => route('components.introduction')],
['label' => 'Components', 'href' => route('components.index')],
['label' => 'Breadcrumb'],
]" />
With ellipsis
<hw:breadcrumb :items="[
['label' => 'Dashboard', 'href' => route('components.introduction')],
['type' => 'ellipsis', 'label' => 'More pages'],
['label' => 'Components', 'href' => route('components.index')],
['label' => 'Breadcrumb'],
]" />
Composed
Full control over item content via subcomponents.
<hw:breadcrumb>
<hw:breadcrumb.list>
<hw:breadcrumb.item>
<hw:breadcrumb.link :href="route('components.introduction')">
<x-lucide-house class="size-4" />
Home
</hw:breadcrumb.link>
</hw:breadcrumb.item>
<hw:breadcrumb.separator />
<hw:breadcrumb.item>
<hw:breadcrumb.link :href="route('components.index')">Components</hw:breadcrumb.link>
</hw:breadcrumb.item>
<hw:breadcrumb.separator />
<hw:breadcrumb.item>
<hw:breadcrumb.page>Breadcrumb</hw:breadcrumb.page>
</hw:breadcrumb.item>
</hw:breadcrumb.list>
</hw:breadcrumb>