Breadcrumb

Also known as: Breadcrumb trail, Page location

Resources

Properties

PropertyValuesDefault
State VariantDefault | Hover | FocusDefault
Is current page Booleantrue | falsefalse
Has icon Booleantrue | falsefalse
Icon InstanceSwapAny iconheart
Has label Booleantrue | falsetrue
Label TextstringPage 1

Overflow

To handle long navigation paths, breadcrumb component truncates middle items with an ellipsis. Hovering over this ellipsis reveals a dropdown, allowing users to access and navigate through the hidden pages.

PropertyValuesDefault
Has overflow Booleantrue | falsefalse
Swap content InstanceSwapAny componentPlaceholder

When to use

Breadcrumb navigation allows users to navigate back to previous page levels.

When the main navigation already provides sufficient context for navigation.

Size

Dimensions of the breadcrumb are tied to the global scale tokens. This ensures that the components with similar size settings remain consistent across the interface. scale tokens also provides more granular control over dimensional settings.

scale.css
--scale-width-<size>
--scale-height-<size>
--scale-padding-<size>
--scale-gap-<size>
--scale-radius-<size>
--scale-icon-size-<size>
--scale-text-size-<size>
--scale-text-height-<size>