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| Name | Type | Default | Description |
|---|---|---|---|
items | TrailCrumb[] | DEFAULT_ITEMS | The path, from the top to the current page. |
separator | "chevron" | "slash" | "dot" | "chevron" | The mark between crumbs. |
maxVisible | number | 4 | How 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) => void | None | Called with the id of the crumb the user clicks; links then no longer follow their href. |
ariaLabel | string | "Breadcrumb" | Name for the navigation landmark, read by screen readers. |
className | string | None |