Breadcrumb
Show the current location and its parent path concisely.
Usage guide
#Show which parent path contains the current view. Use Navigation for a full menu and Tabs to switch within one area.
Start with the top-level path
Arrange items from the highest-level view to the current view.
Indicate the current location
Set
activeon the current item. The last separator is hidden automatically. Mark inaccessible items withdisabled.Connect navigation
Read the item element in
selected.detailand navigate through your app's router.
Examples
#Feature examples
#Choose a feature from 8 topics. Explore property settings, method calls, event results, and slot layouts through live examples and code.
No matching features.
API reference
#Hover over a name or focus it with the keyboard to see the code. On touch screens, tap the name.
<sy-breadcrumb>
Properties
| Attribute / Property | Type | Default | Description |
|---|---|---|---|
'slash' | 'arrow' | 'slash' | Separator between path segments. |
Slots
| Slot | Description |
|---|---|
| Component body or child items. |
<sy-breadcrumb-item>
Properties
| Attribute / Property | Type | Default | Description |
|---|---|---|---|
boolean | false | Indicate the current page and prevent selection. | |
boolean | false | Block user interaction and keyboard focus. | |
'slash' | 'arrow' | undefined | Separator between path segments. | |
'slash' | 'arrow' | 'slash' | Set by the parent `sy-breadcrumb` to inherit its separator. | |
boolean | false | Set by the parent `sy-breadcrumb`. When true, no trailing separator is rendered. |
Events
| Event | Detail | Description |
|---|---|---|
CustomEvent<HTMLSyBreadcrumbItemElement> | Emitted when the user selects an item. |
Methods
| Method | Returns | Description |
|---|---|---|
Promise<void> | Render the component again using its current properties. Normally, property changes or the parent component manage updates. |
Slots
| Slot | Description |
|---|---|
| Component body or child items. |