Skip to Content
Archi-ui 1.0.25 is released 🎉
ComponentsBreadcrumbs

Breadcrumbs

A breadcrumbs is a list of links that help visualize a page’s location within a site’s hierarchical structure. It allows navigation up to any of the ancestors.

Basic Breadcrumbs

Usage

import { Breadcrumbs, Link, Typography } from 'archi-ui'
<Breadcrumbs> <Link href='/' underline='hover'>Home</Link> <Link href='/about' underline='hover'>About</Link> <Link href='/services' underline='hover'>Services</Link> <Typography>Blog</Typography> </Breadcrumbs>

Custom Separator

In The following examples, we are using string separator and an SVG icon.

Collapsed Breadcrumbs

Condensed with menu

As an alternative, consider adding a Menu component to display the condensed links in a dropdown list.

API reference docs for the React Breadcrumbs component.

Props

NameTypeDefaultDescription
childrennode-The content of the component.
classNamestring-Override or extend the styles applied to the component.
itemsAfterCollapseinteger1If max items is exceeded, the number of items to show after the ellipsis.
itemsBeforeCollapseinteger1If max items is exceeded, the number of items to show before the ellipsis.
maxItemsinteger8Specifies the maximum number of breadcrumbs to display. When there are more than the maximum number, only the first itemsBeforeCollapse and last itemsAfterCollapse will be shown, with an ellipsis in between
separatornode'/'Custome separator node.
Last updated on