Skip to content

Breadcrumb ​

Breadcrumb component enhanced based on Element Plus Breadcrumb.

Displays the location of the current page, making it easier to browser back.

Basic usage ​

In In each Breadcrumb component, you need to use the bk-breadcrumb-item component to represent each level starting from the homepage. You can also configure the page level data and the current level in a configuration-driven manner via the items and current-item attributes. This component has a String attribute separator, and it determines the separator. Its default value is '/'.

Icon separator ​

Set separator-icon to use svg icon as the separator,it will cover separator

NameDescriptionTypeDefault
separator-icon extendedicon component of icon separatorstring / Component—
configBreadcrumb configuration objectobject—
itemsBreadcrumb item arrayarray—
currentItemCurrent item pathstring—
Element Plus Breadcrumb Attributes
NameDescriptionTypeDefault
separatorseparator characterstring/

Extends all Element Plus BreadcrumbItemProps properties with additional features:

NameDescriptionTypeDefault
idUnique identifier for the itemnumber / string—
iconIcon to displaystring—
menu_nameDisplay name for the menu itemstring—
linkURL or route pathstring—
childrenChild items arrayarray—
Element Plus Breadcrumb Slots
NameDescriptionSubtags
defaultcustomize default contentBreadcrumb Item
Element Plus BreadcrumbItem Attributes
NameDescriptionTypeDefault
totarget route of the link, same as to of vue-routerstring / object''
replaceif true, the navigation will not leave a history recordbooleanfalse
Element Plus BreadcrumbItem Slots
NameDescription
defaultcustomize default content

Released under the MIT License.