The Blazor Breadcrumb component is a graphical user interface that serves as a navigation header for your web application or site. It helps to identify or highlight the current location within the hierarchical structure of a website. It has several built-in features such as templates, icons, binding to location, overflow mode, and UI customizations.
Users tend to understand visual information better than text. Include icons or sprite images to the right or left of the Breadcrumb items to provide a visual representation of their corresponding actions.
You can use a horizontal line separator to present similar action items as a group within a list of available items.
Templates are used to create custom user experiences. The Breadcrumb component provides a template for each breadcrumb item and its separator to customize the appearance of the entire Breadcrumb component UI with HTML elements or other components.
Overflow mode limits the number of items that can be displayed in the view when the Breadcrumb items’ width exceeds the container width or the maximum item count. The following are the different overflow modes supported in the Breadcrumb component.
The Blazor Breadcrumb control comes with a rich UI and support for different internal and external navigations.
Menu mode shows the Breadcrumb items that can be accommodated within the container space and creates a submenu with the remaining items.
Collapsed mode shows the first and last Breadcrumb items and hides the remaining items with a collapsed icon. When the collapsed icon is clicked, all items become visible and navigable.
Wrap mode wraps the items to multiple lines when the Breadcrumb component’s width exceeds the container space.
Scroll mode shows an HTML scroll bar when the Breadcrumb component’s width exceeds the container space.
Hidden mode shows the maximum number of items possible in the container space and hides the remaining items. Clicking the item before the hidden item will make the hidden item visible.
None mode shows all the items on a single line.
Breadcrumb items can be automatically generated based on the current location of the user within the website or by providing a URL to the Breadcrumb component. The auto generated items can be customized using templates and item render events.
Note: The previous sample is hosted in a different location and Breadcrumb items are generated based on it.
Developers can control the appearance and behaviors of the Breadcrumb component using a rich set of APIs.
The Blazor Breadcrumb supports built-in themes such as Bootstrap 5, Tailwind CSS, Fluent, high contrast, and more. Users can customize these built-in themes or create new themes to achieve the desired look and feel either by simply overriding SASS variables or using the Theme Studio application.
Easily get started with the Blazor Breadcrumb using a few simple lines of C# code example as demonstrated below. Also explore our Blazor Breadcrumb Example that shows you how to render and configure the Breadcrumb in Blazor.
@using Syncfusion.Blazor @using Syncfusion.Blazor.Navigations <SfBreadcrumb EnableNavigation="false" ActiveItem="@SimpleActiveItem"> <BreadcrumbItems> <BreadcrumbItem Text="Home" Url="https://blazor.syncfusion.com/demos/"/> <BreadcrumbItem Text="Components" Url="https://blazor.syncfusion.com/demos/datagrid/overview"/> <BreadcrumbItem Text="Navigations" Url="https://blazor.syncfusion.com/demos/menu-bar/default-functionalities"/> <BreadcrumbItem Text="Breadcrumb" Url="./breadcrumb/default-functionalities"/> </BreadcrumbItems> </SfBreadcrumb>
You can find our Blazor Breadcrumb demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.