The ASP.NET MVC Breadcrumb 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.
Templates are used to create custom user experiences. Breadcrumb provides a template for each Breadcrumb item and its separator to customize or change the appearance of the entire Breadcrumb UI with HTML elements or other components.
Overflow mode limits the number of items to be displayed in the view when the container width exceeds a Breadcrumb item’s width or the maximum item count. The following are the different overflow modes supported in the Breadcrumb component.
Menu mode shows the number of 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’s width exceeds the container space.
Scroll mode shows an HTML scroll bar when the Breadcrumb’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 on a previous 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 ASP.NET MVC 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.
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.