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.
Notes: 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 Breadcrumb component is also available in Blazor, React, Angular, and Vue frameworks. Check it out on other platforms at the links below:
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.