Files
element-plus/docs/en-US/component/breadcrumb.md
jiaxiang fe9cc6351b docs: optimization API style (#19793)
* docs: optimization API style

* chore: Transfer

* chore: update

* fix: update
2025-02-09 13:35:08 +08:00

1.7 KiB
Raw Blame History

title, lang
title lang
Breadcrumb en-US

Breadcrumb

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

Basic usage

:::demo In el-breadcrumb, each el-breadcrumb-item is a tag that stands for every level starting from homepage. This component has a String attribute separator, and it determines the separator. Its default value is '/'.

breadcrumb/basic

:::

Icon separator

:::demo Set separator-icon to use svg icon as the separatorit will cover separator

breadcrumb/icon

:::

Breadcrumb API

Attributes

Name Description Type Default
separator separator character ^[string] /
separator-icon icon component of icon separator ^[string] / ^[Component]

Slots

Name Description Subtags
default customize default content Breadcrumb Item

Breadcrumb-Item API

Attributes

Name Description Type Default
to target route of the link, same as to of vue-router ^[string] / ^[object]RouteLocationRaw ''
replace if true, the navigation will not leave a history record ^[boolean] false

Slots

Name Description
default customize default content