Fine-tune light, shadows, borders, neumorphic
Light and shadows
Borders
Neumorphic
Navigation

Breadcrumb <pm-breadcrumb>

Breadcrumb trail. The last item is the current page. Long trails collapse to first … last max items.

Full screen
Home Projects Prismora Settings

Props

<script type="module"> import '@prismora/css'; import '@prismora/elements/breadcrumb'; </script> <pm-breadcrumb> <pm-breadcrumb-item href="#">Home</pm-breadcrumb-item> <pm-breadcrumb-item href="#">Projects</pm-breadcrumb-item> <pm-breadcrumb-item href="#">Prismora</pm-breadcrumb-item> <pm-breadcrumb-item>Settings</pm-breadcrumb-item> </pm-breadcrumb>

Attributes

AttributeTypeDefaultDescription
labelstringBreadcrumbAccessible name of the navigation landmark.
maxnumber—Collapse middle items when there are more than this many.
separatorstring—Separator character (default "/").

Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.

Slots

SlotDescription
(default)pm-breadcrumb-item elements.

<pm-breadcrumb-item>

Breadcrumb entry (a link, or plain text for the current page).

Attributes

AttributeTypeDefaultDescription
hrefstring—Link target: renders a link instead of a button.
currentbooleanfalseMarks the current page (set automatically on the last item).

Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.

Slots

SlotDescription
(default)Label.

Used in templates

OrdersCustomer 360Project boardProduct pageArticle