Breadcrumb

A breadcrumb displays the current location within a hierarchy. It allows going back to states higher up in the hierarchy.

Breadcrumb

When to use

When the system has more than two layers in a hierarchy.
When you need to inform the user of where they are.
When the user may need to navigate back to a higher level.


Basic

The simplest use

Other Router Integration

Used together with react-router@4+ or other router.

API

PropertyDescriptionTypeDefault
itemRender
Custom item renderer
(route, params, routes, paths) => ReactNode
-
params
Routing parameters
object
-
routes
The routing stack information of router
-
separator
Custom separator
string|ReactNode
'/'
PropertyDescriptionTypeDefault
href
Target of hyperlink
string
-
overlay
The dropdown menu
Menu | () => Menu
-
onClick
Set the handler to handle click event
(e:MouseEvent)=>void
-
dropdownProps
The dropdown props
-
PropertyDescriptionTypeDefault
children
Custom separator
string|ReactNode
'/'