Examples
Pass the trail as Items; a null Href renders the current page as plain text.
Each BreadcrumbItem takes an optional Icon ligature shown before its text.
Disabled renders an item as dimmed text even when it has an Href.
When the trail is wider than its container it scrolls sideways instead of wrapping.
API
<Breadcrumbs>
DaisyBlazorParameters
- Items List<
BreadcrumbItem> = nullTrail entries, each rendered as a link (when it has an Href and is enabled) or plain text.
- Separator string= null
Accepted for MudBlazor source compatibility; ignored.
- Class string= null
Extra CSS classes merged onto the root breadcrumbs <nav> element.
- Style string= null
Inline CSS styles applied to the root breadcrumbs <nav> element.
BreadcrumbItem
DaisyBlazorA single breadcrumb entry rendered in a daisyUI breadcrumbs trail.
Properties
- Disabled bool
Whether the item is non-clickable (e.g. the current page).
- Href string
Navigation href. null means the current page (non-clickable).
- Icon string
Optional Material Symbols ligature to render before the text.
- Text string
The localized display text.
Methods
- <Clone>$ () → BreadcrumbItem
- Deconstruct (String& Text,
String& Href, Boolean& Disabled, String& Icon) → void - Equals (object obj) → bool
- Equals (BreadcrumbItem other) → bool
- GetHashCode () → int
- ToString () → string
From MudBreadcrumbs
Breadcrumbs keeps MudBreadcrumbs's parameter names, so most markup moves over by
dropping the Mud prefix. See the migration guide for the shared enums, icons and services.
Separator is accepted for source compatibility but ignored: daisyUI draws its own separators.