Skip to content
Kimenpre-v1documentation home
Color scheme

ki-breadcrumb-item

Place ki-breadcrumb-item directly inside Breadcrumb. Give each level a plain-text label. An ancestor with an href becomes a link, and an ancestor without one provides context as text. In the overflow menu, a level without a destination is announced as unavailable.

Theme for this example
Color scheme for this example
Workspace Administration Settings
<ki-breadcrumb label="Settings path">
<ki-breadcrumb-item href="#workspace">Workspace</ki-breadcrumb-item>
<ki-breadcrumb-item>Administration</ki-breadcrumb-item>
<ki-breadcrumb-item current>Settings</ki-breadcrumb-item>
</ki-breadcrumb>

The order supplies the hierarchy. Place the current page last. You can mark it with current to make the authored trail easier to read.

API reference

When to use: declare a direct child of ki-breadcrumb in hierarchy order. Give ancestors an href and use short text labels. The last level is the current page.

When not to use: render a standalone link or display an interactive control inside the label.

Properties & attributes

AttributePropertyTypeDefaultDescription
currentcurrentbooleanfalseExplicitly marks the final level as current. The owning breadcrumb treats its final level as current by position, including when this marker is omitted.
hrefhrefstring | undefined–Native destination for an ancestor level. Leaves the label as text when omitted. The final level never links away from the current page.

Slots

SlotDescription
(default)Plain-text label mirrored by the owning breadcrumb.

CSS custom properties

The public styling contract of ki-breadcrumb-item: reassign these tokens at :root or on a subtree — never override internals.

TokenDescription
--ki-typography-family-bodysemantic font family for typography family body.