Skip to content
PixiKit

Trail Crumbs

Breadcrumbs that stay usable when the path is deep. The middle folds into a small list, and a narrow row turns into one back link.

pixikit.com/docs/app-ui/navigation/trail-crumbs

Customize

Separator
Max visible4
Collapse
Surface

Props

8
NameTypeDefaultDescription
itemsTrailCrumb[]DEFAULT_ITEMSThe path, from the top to the current page.
separator"chevron" | "slash" | "dot""chevron"The mark between crumbs.
maxVisiblenumber4How many crumbs show before the middle ones fold into one "more" button.
collapse"auto" | "never""auto"`auto` also folds when the row does not fit its container, down to one back link.
surface"plain" | "bar""plain"`bar` puts the row in a bordered, padded strip.
onNavigate(id: string) => voidNoneCalled with the id of the crumb the user clicks; links then no longer follow their href.
ariaLabelstring"Breadcrumb"Name for the navigation landmark, read by screen readers.
classNamestringNone

More navigation blocks in Pro

View all

Related