Blazor Breadcrumb Example - Custom Templates
This sample demonstrates the item customization items, separators and icon of the Breadcrumb component.
Custom Breadcrumb
Specific Item Template
Custom Separator
Custom Breadcrumb and Separator
Breadcrumb with Icons
Disabled Specific Breadcrumb Item
Disabled Breadcrumb
The Blazor Breadcrumb component supports to customize the items using ItemTemplate and the separators using
SeparatorTemplate properties in BreadcrumbTemplates.
The BreadcrumbItem provides Disabled property to enable or disable an item
and IconCss property to display an icon in the breadcrumb item.
By default, the icons are aligned to the left.
In this demo,
- Custom Breadcrumb uses shopping cart details as
BreadcrumbItemsand items are customized usingItemTemplateproperty. - Custom Separator shows the customization of separators using
SeparatorTemplateproperty. - Custom Breadcrumb and Separator shows customization of items using both
ItemTemplateandSeparatorTemplateproperties. - Breadcrumb with Icons showcases the file path of the config.json file with icons using the
IconCssproperty. - Disabled Specific Breadcrumb Item shows disabling a specific breadcrumb item using
Disabledproperty. - Disabled Breadcrumb shows disabling a breadcrumb item using
Disabledproperty.
See also