- Primitive UI components
Breadcrumb
Primitive UI components in Search UI Components package, are headless, building blocks used to create the headless widget templates for React applications. You can use them to scaffold your custom widgets.
This topic describes the anatomy, API reference, and variations of the Breadcrumb primitive component.
Anatomy
Using the component
The following tabs describe use of theBreadcrumb primitive component.
Plain component
In your React application, paste the following code block then modify the primitives to match your needs.

With separators
In your React application, paste the following code block then modify the primitives to match your needs.

With disabled items
In your React application, paste the following code block then modify the primitives to match your needs.

API reference
This section describes the component or component parts displayed in the anatomy structure. For every component, you will find:
- Components to which you can add it as a child.
- Components you can add as its child.
- Details of any properties you can set.
Breadcrumb.Root
The Breadcrumb.Root component contains all the breadcrumbs.
Children: Breadcrumb.Navigation
| Name | Description |
|---|---|
article | The article object |
Breadcrumb.Navigation
The Breadcrumb.Navigation component represents the nav HTML element. A nav element labeled Breadcrumb identifies the structure as a breadcrumb trail and makes it a navigation landmark so that it is easy to locate.
Parent: Breadcrumb.Root
Children: Breadcrumb.List
Breadcrumb.List
The Breadcrumb.List component is an ol(ordered list) HTML element.
Parent: Breadcrumb.Root
Children: Breadcrumb.Item
Breadcrumb.Item
The Breadcrumb.Item component lists an item's content using links and separators.
Parent: Breadcrumb.List
Children: Breadcrumb.Link and Breadcrumb.Separator.
Breadcrumb.Link
The Breadcrumb.Link component is an anchor HTML element.
Parent: Breadcrumb.Item
Breadcrumb.Separator
The Breadcrumb.Separator component separates breadcrumb items. It is an empty element by default. The separators are part of the visual presentation that signifies the breadcrumb trail, which is already semantically represented by the nav element with its label of Breadcrumb. So, using a display technique that is not represented in the accessibility tree used by screen readers prevents redundant and potentially distracting verbosity.
Parent: Breadcrumb.Item
| Name | Description |
|---|---|
value | String value of the separator. |
API reference
Breadcrumb.Root
The Breadcrumb.Root component contains all the breadcrumbs.
Children: Breadcrumb.Navigation
Breadcrumb.Navigation
The Breadcrumb.Navigation component represents nav HTML element. A nav element labeled Breadcrumb identifies the structure as a breadcrumb trail and makes it a navigation landmark so that it is easy to locate.
Parent: Breadcrumb.Root
Children: Breadcrumb.List
Breadcrumb.List
The Breadcrumb.List component is an ol(ordered list) HTML element.
Parent: Breadcrumb.Root
Children: Breadcrumb.Item
Breadcrumb.Item
The Breadcrumb.Item component lists an item's content using links and separators.
Parent: Breadcrumb.List
Children: Breadcrumb.Link, and Breadcrumb.Separator
Breadcrumb.Link
The Breadcrumb.Link component is an anchor HTML element.
Parent: Breadcrumb.Item
Breadcrumb.Separator
The Breadcrumb.Separator component separates breadcrumb items. It is an empty element by default. The separators are part of the visual presentation that signifies the breadcrumb trail, which is already semantically represented by the nav element with its label of Breadcrumb. So, using a display technique that is not represented in the accessibility tree used by screen readers prevents redundant and potentially distracting verbosity.
Parent: Breadcrumb.Item
| Name | Description |
|---|---|
| value | Value of the separator. |