Trusted by the world’s leading companies
Overview
The React 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.
Breadcrumb item icons
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.
UI customization with templates
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.
Limit items with overflow mode
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 React Breadcrumb component.
Menu mode
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
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
Wrap mode wraps the items to multiple lines when the Breadcrumb’s width exceeds the container space.
Scroll mode
Scroll mode shows an HTML scroll bar when the Breadcrumb’s width exceeds the container space.
Hidden mode
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
None mode shows all the items on a single line.
Bind to location
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.
Accessibility
- Fully supports WAI-ARIA accessibility practices to work with screen readers and assistive devices.
- Follows WAI-ARIA best practices for implementing keyboard interaction.
- Based on WCAG 2.0 standards, we designed the UI element visuals such as foreground color, background color, line spacing, text, and images.
- Supports right-to-left (RTL) text direction for users working in right-to-left languages like Hebrew, Arabic, or Persian.
Developer-friendly APIs
Developers can control the appearance and behaviors of the Breadcrumb using a rich set of APIs.
Built-in themes
The React 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.
React Breadcrumb Code Example
Easily get started with the React Breadcrumb using a few simple lines of TSX code example as demonstrated below. Also explore our React Breadcrumb Example that shows you how to render and configure a Breadcrumb in React.
import { BreadcrumbComponent, BreadcrumbItemDirective, BreadcrumbItemsDirective } from '@syncfusion/ej2-react-navigations';
import * as React from 'react';
import * as ReactDom from 'react-dom';
class App extends React.Component<{}, {}> {
public render() {
return (
<BreadcrumbComponent enableNavigation={false}>
<BreadcrumbItemsDirective>
<BreadcrumbItemDirective iconCss="e-icons e-home" url="https://ej2.syncfusion.com/home/react.html#platform" />
<BreadcrumbItemDirective text="Components" url="https://ej2.syncfusion.com/react/demos/#/material/grid/overview/" />
<BreadcrumbItemDirective text="Navigations" url="https://ej2.syncfusion.com/react/demos/#/material/menu/default" />
<BreadcrumbItemDirective text="Breadcrumb" url="./breadcrumb/default" />
</BreadcrumbItemsDirective>
</BreadcrumbComponent>
);
}
}
ReactDom.render(<App />,document.getElementById('element'));Not sure how to create your first React Breadcrumb? Our tutorial videos and documentation can help.
I’d love to watch it now I’d love to read it nowDiscover Syncfusion’s Complete React Component Ecosystem
Explore over 145+ React UI components featuring established, production-ready controls and the latest pure React components built natively for modern web app development.
-
React Components
-
Pure React Components
-
SMART COMPONENTSGRIDSDATA VISUALIZATIONDROPDOWNSFILE VIEWERS & EDITORSBUTTONSINTERACTIVE CHATINPUTSNAVIGATIONFORMSNOTIFICATIONS
-
GRIDSDATA VISUALIZATIONNAVIGATIONINPUTS
Frequently Asked Questions
Why should you choose Syncfusion React Breadcrumb?
Support for an overflow mode to limit the number of Breadcrumb items displayed.
Built-in support for icons, binding to location, and UI customization with templates for Breadcrumb items.
- Accessibility features that make it especially useful in dynamic content changes.
- One of the best React Breadcrumb components on the market, offering a feature-rich UI.
- Simple configuration and API.
- Support for all modern browsers.
Expansive learning resources, such as demos and documentation, to learn quickly and get started fast.
Where can I find the Syncfusion React Breadcrumb demo?
You can find our React Breadcrumb demo, which demonstrates how to render and configure the Breadcrumb.
Can I download and utilize the Syncfusion React Breadcrumb for free?
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, 5 or fewer developers, and 10 or fewer total employees.
How do I get started with Syncfusion React Breadcrumb?
A good place to start would be our comprehensive getting started documentation.
Our Customers Love Us
Awards
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.