ki-breadcrumb-item
@kimen/elements/ki-breadcrumb-item- Source
- Agent reference
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.
<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
| Attribute | Property | Type | Default | Description |
|---|---|---|---|---|
current | current | boolean | false | Explicitly marks the final level as current. The owning breadcrumb treats its final level as current by position, including when this marker is omitted. |
href | href | string | 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
| Slot | Description |
|---|---|
| (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.
| Token | Description |
|---|---|
--ki-typography-family-body | semantic font family for typography family body. |