Breadcrumb
Displays the path to the current resource using a hierarchy of links.
Installation
Usage
<Breadcrumb>
<BreadcrumbList>
<BreadcrumbItem>
<BreadcrumbLink>
<Render>
<a @attributes="context.Attributes" href="/">Home</a>
</Render>
</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbSeparator />
<BreadcrumbItem>
<BreadcrumbLink>
<Render>
<a @attributes="context.Attributes" href="/docs/components">Components</a>
</Render>
</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbSeparator />
<BreadcrumbItem><BreadcrumbPage>Breadcrumb</BreadcrumbPage></BreadcrumbItem>
</BreadcrumbList>
</Breadcrumb>Composition
Use the following composition to build a Breadcrumb:
Breadcrumb
└── BreadcrumbList
├── BreadcrumbItem
│ └── BreadcrumbLink
├── BreadcrumbSeparator
├── BreadcrumbItem
│ └── BreadcrumbLink
├── BreadcrumbSeparator
└── BreadcrumbItem
└── BreadcrumbPageBasic
A basic breadcrumb with a home link and a components link.
Custom separator
Use a custom component as children for <BreadcrumbSeparator /> to create a custom separator.
Dropdown
You can compose <BreadcrumbItem /> with a <DropdownMenu /> to create a dropdown in the breadcrumb.
Collapsed
We provide a <BreadcrumbEllipsis /> component to show a collapsed state when the breadcrumb is too long.
Link component
To use a custom link component from your routing library, you can use the Render parameter on <BreadcrumbLink />.
RTL
To enable RTL support in Blazix, see the RTL configuration guide.
Translated with AI for the demo, so it may have mistakes.
API Reference
Breadcrumb
Other attributes are passed to the element it renders.
BreadcrumbEllipsis
Other attributes are passed to the element it renders.
BreadcrumbItem
Other attributes are passed to the element it renders.
BreadcrumbLink
Other attributes are passed to the element it renders.
BreadcrumbList
Other attributes are passed to the element it renders.
BreadcrumbPage
Other attributes are passed to the element it renders.
BreadcrumbSeparator
Other attributes are passed to the element it renders.