Breadcrumbs ​

The breadcrumb component provides a set of classes to show where a page sits in a site's hierarchy.

Breadcrumbs implement the spec found in the ARIA Authoring Practices Guide.

Base classes ​

Use .breadcrumb on an ordered list inside a labelled navigation landmark. Add .breadcrumb-item to each list item and .breadcrumb-link to each link. Add aria-current="page" to the current page link, or optionally to its list item if the current page is plain text.

Collapsible breadcrumbs ​

Graupl provides a feature for breadcrumbs that is not part of the ARIA Authoring Practices Guide, collapsible breadcrumbs. This allows breadcrumb trails to take up less space on smaller screens.

Put a .breadcrumb-toggle button in its own .breadcrumb-item before the items you want to collapse. Give the button an accessible name. When the trail is collapsed, the items after the button are hidden except for the last item. Once expanded, the full trail is visible and the button is hidden.

Note

By default, the trail can collapse at viewport widths of 856px and below. The preview sets mediaQuery to "(min-width: 0px)" so you can expand the trail at any viewport width.

Initialization ​

A basic breadcrumb trail works without JavaScript. To enable the collapsible trail, run the breadcrumb generator after the markup is in the DOM.

js
import generateBreadcrumbs from "@graupl/core/breadcrumb/generator";

generateBreadcrumbs();

The generator finds the toggle inside .breadcrumb. Initialization sets the button's aria-controls to the trail's ID and updates aria-expanded as the trail expands or collapses.

Breadcrumb items show and hide immediately by default. To enable item fades, pass transitionClass: "transitioning" in the generator’s options object. The fade uses transitionDuration.

Variants ​

By default, no theme variants are generated.

If you are compiling your own version of Graupl, you can set the breadcrumb module’s $themeable variable to true to generate the .primary, .secondary, and .tertiary variants. Add a variant class alongside .breadcrumb or to an element inside it.

Custom Properties ​

The following custom properties can be used to customize the breadcrumb component:

Property NameDescriptionDefault Value
--graupl-breadcrumb-padding-xHorizontal padding for the breadcrumb container.var(--graupl-spacer-0)
--graupl-breadcrumb-padding-yVertical padding for the breadcrumb container.var(--graupl-spacer-0)
--graupl-breadcrumb-paddingPadding for the breadcrumb container.var(--graupl-breadcrumb-padding-y) var(--graupl-breadcrumb-padding-x)
--graupl-breadcrumb-margin-xHorizontal margin for the breadcrumb container.var(--graupl-spacer-0)
--graupl-breadcrumb-margin-yVertical margin for the breadcrumb container.var(--graupl-spacer-0)
--graupl-breadcrumb-marginMargin for the breadcrumb container.var(--graupl-breadcrumb-margin-y) var(--graupl-breadcrumb-margin-x)
--graupl-breadcrumb-column-gapHorizontal gap for the breadcrumb container.var(--graupl-spacer-2)
--graupl-breadcrumb-row-gapVertical gap for the breadcrumb container.var(--graupl-spacer-2)
--graupl-breadcrumb-gapGap for the breadcrumb container.var(--graupl-breadcrumb-row-gap) var(--graupl-breadcrumb-column-gap)
--graupl-breadcrumb-backgroundBackground for the breadcrumb container.var(--graupl-background)
--graupl-breadcrumb-colorText color for the breadcrumb container.var(--graupl-color)
--graupl-breadcrumb-border-colorBorder color for the breadcrumb container.var(--graupl-breadcrumb-color)
--graupl-breadcrumb-border-top-left-radiusTop-left border radius for the breadcrumb container.var(--graupl-border-top-left-radius)
--graupl-breadcrumb-border-top-right-radiusTop-right border radius for the breadcrumb container.var(--graupl-border-top-right-radius)
--graupl-breadcrumb-border-bottom-left-radiusBottom-left border radius for the breadcrumb container.var(--graupl-border-bottom-left-radius)
--graupl-breadcrumb-border-bottom-right-radiusBottom-right border radius for the breadcrumb container.var(--graupl-border-bottom-right-radius)
--graupl-breadcrumb-border-radiusBorder radius for the breadcrumb container.var(--graupl-breadcrumb-border-top-left-radius) var(--graupl-breadcrumb-border-top-right-radius) var(--graupl-breadcrumb-border-bottom-right-radius) var(--graupl-breadcrumb-border-bottom-left-radius)
--graupl-breadcrumb-border-top-widthTop border width for the breadcrumb container.0
--graupl-breadcrumb-border-right-widthRight border width for the breadcrumb container.0
--graupl-breadcrumb-border-bottom-widthBottom border width for the breadcrumb container.0
--graupl-breadcrumb-border-left-widthLeft border width for the breadcrumb container.0
--graupl-breadcrumb-border-widthBorder width for the breadcrumb container.var(--graupl-breadcrumb-border-top-width) var(--graupl-breadcrumb-border-right-width) var(--graupl-breadcrumb-border-bottom-width) var(--graupl-breadcrumb-border-left-width)
--graupl-breadcrumb-border-top-styleTop border style for the breadcrumb container.var(--graupl-border-top-style)
--graupl-breadcrumb-border-right-styleRight border style for the breadcrumb container.var(--graupl-border-right-style)
--graupl-breadcrumb-border-bottom-styleBottom border style for the breadcrumb container.var(--graupl-border-bottom-style)
--graupl-breadcrumb-border-left-styleLeft border style for the breadcrumb container.var(--graupl-border-left-style)
--graupl-breadcrumb-border-styleBorder style for the breadcrumb container.var(--graupl-breadcrumb-border-top-style) var(--graupl-breadcrumb-border-right-style) var(--graupl-breadcrumb-border-bottom-style) var(--graupl-breadcrumb-border-left-style)
--graupl-breadcrumb-item-show-displayDisplay for the breadcrumb item in the shown state.flex
--graupl-breadcrumb-item-hide-displayDisplay for the breadcrumb item in the hidden state.none
--graupl-breadcrumb-item-transitioning-displayDisplay for the breadcrumb item in the transitioning state.flex
--graupl-breadcrumb-item-displayDisplay value for the breadcrumb item.flex
--graupl-breadcrumb-item-show-opacityOpacity for the breadcrumb item in the shown state.1
--graupl-breadcrumb-item-hide-opacityOpacity for the breadcrumb item in the hidden state.0
--graupl-breadcrumb-item-transitioning-opacityOpacity for the breadcrumb item in the transitioning state.0
--graupl-breadcrumb-item-opacityOpacity for the breadcrumb item.var(--graupl-breadcrumb-item-show-opacity)
--graupl-breadcrumb-transition-durationTransition duration for the breadcrumb item.var(--graupl-transition-duration-fast)
--graupl-breadcrumb-item-transition-timing-functionTransition timing function for the breadcrumb item.var(--graupl-transition-timing-function)
--graupl-breadcrumb-item-transitionTransition applied to the breadcrumb item.opacity var(--graupl-breadcrumb-transition-duration) var(--graupl-breadcrumb-item-transition-timing-function)
--graupl-breadcrumb-item-transition-reduced-motionTransition used for the breadcrumb item when reduced motion is requested.none
--graupl-breadcrumb-item-padding-xHorizontal padding for the breadcrumb item.0
--graupl-breadcrumb-item-padding-yVertical padding for the breadcrumb item.0
--graupl-breadcrumb-item-paddingPadding for the breadcrumb item.var(--graupl-breadcrumb-item-padding-y) var(--graupl-breadcrumb-item-padding-x)
--graupl-breadcrumb-item-column-gapHorizontal gap for the breadcrumb item.var(--graupl-breadcrumb-column-gap)
--graupl-breadcrumb-item-row-gapVertical gap for the breadcrumb item.var(--graupl-breadcrumb-row-gap)
--graupl-breadcrumb-item-gapGap for the breadcrumb item.var(--graupl-breadcrumb-item-row-gap) var(--graupl-breadcrumb-item-column-gap)
--graupl-breadcrumb-item-colorText color for the breadcrumb item.var(--graupl-breadcrumb-color)
--graupl-breadcrumb-item-backgroundBackground for the breadcrumb item.var(--graupl-breadcrumb-background)
--graupl-breadcrumb-item-visited-colorText color for the breadcrumb item in the visited state.var(--graupl-breadcrumb-item-color)
--graupl-breadcrumb-item-focus-colorText color for the breadcrumb item in the focus state.var(--graupl-breadcrumb-item-color)
--graupl-breadcrumb-item-hover-colorText color for the breadcrumb item in the hover state.var(--graupl-breadcrumb-item-color)
--graupl-breadcrumb-item-active-colorText color for the breadcrumb item in the active state.var(--graupl-breadcrumb-item-hover-color)
--graupl-breadcrumb-item-disabled-colorText color for the breadcrumb item in the disabled state.var(--graupl-theme-active--primary--200)
--graupl-breadcrumb-item-visited-backgroundBackground for the breadcrumb item in the visited state.var(--graupl-breadcrumb-item-background)
--graupl-breadcrumb-item-focus-backgroundBackground for the breadcrumb item in the focus state.var(--graupl-breadcrumb-item-background)
--graupl-breadcrumb-item-hover-backgroundBackground for the breadcrumb item in the hover state.var(--graupl-breadcrumb-item-background)
--graupl-breadcrumb-item-active-backgroundBackground for the breadcrumb item in the active state.var(--graupl-breadcrumb-item-hover-background)
--graupl-breadcrumb-item-disabled-backgroundBackground for the breadcrumb item in the disabled state.var(--graupl-theme-active--primary--200)
--graupl-breadcrumb-item-border-colorBorder color for the breadcrumb item.var(--graupl-breadcrumb-item-color)
--graupl-breadcrumb-item-visited-border-colorBorder color for the breadcrumb item in the visited state.var(--graupl-breadcrumb-item-border-color)
--graupl-breadcrumb-item-focus-border-colorBorder color for the breadcrumb item in the focus state.var(--graupl-breadcrumb-item-border-color)
--graupl-breadcrumb-item-hover-border-colorBorder color for the breadcrumb item in the hover state.var(--graupl-breadcrumb-item-border-color)
--graupl-breadcrumb-item-active-border-colorBorder color for the breadcrumb item in the active state.var(--graupl-breadcrumb-item-hover-border-color)
--graupl-breadcrumb-item-disabled-border-colorBorder color for the breadcrumb item in the disabled state.var(--graupl-theme-active--primary--200)
--graupl-breadcrumb-item-border-top-left-radiusTop-left border radius for the breadcrumb item.var(--graupl-border-top-left-radius)
--graupl-breadcrumb-item-border-top-right-radiusTop-right border radius for the breadcrumb item.var(--graupl-border-top-right-radius)
--graupl-breadcrumb-item-border-bottom-left-radiusBottom-left border radius for the breadcrumb item.var(--graupl-border-bottom-left-radius)
--graupl-breadcrumb-item-border-bottom-right-radiusBottom-right border radius for the breadcrumb item.var(--graupl-border-bottom-right-radius)
--graupl-breadcrumb-item-border-radiusBorder radius for the breadcrumb item.var(--graupl-breadcrumb-item-border-top-left-radius) var(--graupl-breadcrumb-item-border-top-right-radius) var(--graupl-breadcrumb-item-border-bottom-right-radius) var(--graupl-breadcrumb-item-border-bottom-left-radius)
--graupl-breadcrumb-item-border-top-widthTop border width for the breadcrumb item.0
--graupl-breadcrumb-item-border-right-widthRight border width for the breadcrumb item.0
--graupl-breadcrumb-item-border-bottom-widthBottom border width for the breadcrumb item.0
--graupl-breadcrumb-item-border-left-widthLeft border width for the breadcrumb item.0
--graupl-breadcrumb-item-border-widthBorder width for the breadcrumb item.var(--graupl-breadcrumb-item-border-top-width) var(--graupl-breadcrumb-item-border-right-width) var(--graupl-breadcrumb-item-border-bottom-width) var(--graupl-breadcrumb-item-border-left-width)
--graupl-breadcrumb-item-border-top-styleTop border style for the breadcrumb item.var(--graupl-border-top-style)
--graupl-breadcrumb-item-border-right-styleRight border style for the breadcrumb item.var(--graupl-border-right-style)
--graupl-breadcrumb-item-border-bottom-styleBottom border style for the breadcrumb item.var(--graupl-border-bottom-style)
--graupl-breadcrumb-item-border-left-styleLeft border style for the breadcrumb item.var(--graupl-border-left-style)
--graupl-breadcrumb-item-border-styleBorder style for the breadcrumb item.var(--graupl-breadcrumb-item-border-top-style) var(--graupl-breadcrumb-item-border-right-style) var(--graupl-breadcrumb-item-border-bottom-style) var(--graupl-breadcrumb-item-border-left-style)
--graupl-breadcrumb-item-separator-contentSeparator content rendered between breadcrumb items.'/'
--graupl-breadcrumb-link-padding-xHorizontal padding for the breadcrumb link.0
--graupl-breadcrumb-link-padding-yVertical padding for the breadcrumb link.0
--graupl-breadcrumb-link-paddingPadding for the breadcrumb link.var(--graupl-breadcrumb-link-padding-y) var(--graupl-breadcrumb-link-padding-x)
--graupl-breadcrumb-link-transition-durationTransition duration for the breadcrumb link.var(--graupl-transition-duration-fast)
--graupl-breadcrumb-link-transition-timing-functionTransition timing function for the breadcrumb link.var(--graupl-transition-timing-function)
--graupl-breadcrumb-link-transitionTransition applied to the breadcrumb link.transform var(--graupl-breadcrumb-link-transition-duration) var(--graupl-breadcrumb-link-transition-timing-function)
--graupl-breadcrumb-link-transition-reduced-motionTransition used for the breadcrumb link when reduced motion is requested.none
--graupl-breadcrumb-link-transformTransform for the breadcrumb link.none
--graupl-breadcrumb-link-visited-transformTransform for the breadcrumb link in the visited state.var(--graupl-breadcrumb-link-transform)
--graupl-breadcrumb-link-focus-transformTransform for the breadcrumb link in the focus state.var(--graupl-breadcrumb-link-transform)
--graupl-breadcrumb-link-hover-transformTransform for the breadcrumb link in the hover state.var(--graupl-breadcrumb-link-transform)
--graupl-breadcrumb-link-active-transformTransform for the breadcrumb link in the active state.none
--graupl-breadcrumb-link-disabled-transformTransform for the breadcrumb link in the disabled state.none
--graupl-breadcrumb-link-colorText color for the breadcrumb link.var(--graupl-breadcrumb-item-color)
--graupl-breadcrumb-link-backgroundBackground for the breadcrumb link.var(--graupl-breadcrumb-item-background)
--graupl-breadcrumb-link-visited-colorText color for the breadcrumb link in the visited state.var(--graupl-breadcrumb-link-color)
--graupl-breadcrumb-link-focus-colorText color for the breadcrumb link in the focus state.var(--graupl-breadcrumb-link-color)
--graupl-breadcrumb-link-hover-colorText color for the breadcrumb link in the hover state.var(--graupl-breadcrumb-link-background)
--graupl-breadcrumb-link-active-colorText color for the breadcrumb link in the active state.var(--graupl-breadcrumb-link-hover-color)
--graupl-breadcrumb-link-disabled-colorText color for the breadcrumb link in the disabled state.var(--graupl-theme-active--primary--200)
--graupl-breadcrumb-link-visited-backgroundBackground for the breadcrumb link in the visited state.var(--graupl-breadcrumb-link-background)
--graupl-breadcrumb-link-focus-backgroundBackground for the breadcrumb link in the focus state.var(--graupl-breadcrumb-link-background)
--graupl-breadcrumb-link-hover-backgroundBackground for the breadcrumb link in the hover state.var(--graupl-breadcrumb-link-color)
--graupl-breadcrumb-link-active-backgroundBackground for the breadcrumb link in the active state.var(--graupl-breadcrumb-link-hover-background)
--graupl-breadcrumb-link-disabled-backgroundBackground for the breadcrumb link in the disabled state.var(--graupl-theme-active--primary--200)
--graupl-breadcrumb-link-border-colorBorder color for the breadcrumb link.var(--graupl-breadcrumb-link-color)
--graupl-breadcrumb-link-visited-border-colorBorder color for the breadcrumb link in the visited state.var(--graupl-breadcrumb-link-border-color)
--graupl-breadcrumb-link-focus-border-colorBorder color for the breadcrumb link in the focus state.var(--graupl-breadcrumb-link-border-color)
--graupl-breadcrumb-link-hover-border-colorBorder color for the breadcrumb link in the hover state.var(--graupl-breadcrumb-link-color)
--graupl-breadcrumb-link-active-border-colorBorder color for the breadcrumb link in the active state.var(--graupl-breadcrumb-link-hover-border-color)
--graupl-breadcrumb-link-disabled-border-colorBorder color for the breadcrumb link in the disabled state.var(--graupl-theme-active--primary--200)
--graupl-breadcrumb-link-border-top-left-radiusTop-left border radius for the breadcrumb link.var(--graupl-border-top-left-radius)
--graupl-breadcrumb-link-border-top-right-radiusTop-right border radius for the breadcrumb link.var(--graupl-border-top-right-radius)
--graupl-breadcrumb-link-border-bottom-left-radiusBottom-left border radius for the breadcrumb link.var(--graupl-border-bottom-left-radius)
--graupl-breadcrumb-link-border-bottom-right-radiusBottom-right border radius for the breadcrumb link.var(--graupl-border-bottom-right-radius)
--graupl-breadcrumb-link-border-radiusBorder radius for the breadcrumb link.var(--graupl-breadcrumb-link-border-top-left-radius) var(--graupl-breadcrumb-link-border-top-right-radius) var(--graupl-breadcrumb-link-border-bottom-right-radius) var(--graupl-breadcrumb-link-border-bottom-left-radius)
--graupl-breadcrumb-link-border-top-widthTop border width for the breadcrumb link.0
--graupl-breadcrumb-link-border-right-widthRight border width for the breadcrumb link.0
--graupl-breadcrumb-link-border-bottom-widthBottom border width for the breadcrumb link.0
--graupl-breadcrumb-link-border-left-widthLeft border width for the breadcrumb link.0
--graupl-breadcrumb-link-border-widthBorder width for the breadcrumb link.var(--graupl-breadcrumb-link-border-top-width) var(--graupl-breadcrumb-link-border-right-width) var(--graupl-breadcrumb-link-border-bottom-width) var(--graupl-breadcrumb-link-border-left-width)
--graupl-breadcrumb-link-border-top-styleTop border style for the breadcrumb link.var(--graupl-border-top-style)
--graupl-breadcrumb-link-border-right-styleRight border style for the breadcrumb link.var(--graupl-border-right-style)
--graupl-breadcrumb-link-border-bottom-styleBottom border style for the breadcrumb link.var(--graupl-border-bottom-style)
--graupl-breadcrumb-link-border-left-styleLeft border style for the breadcrumb link.var(--graupl-border-left-style)
--graupl-breadcrumb-link-border-styleBorder style for the breadcrumb link.var(--graupl-breadcrumb-link-border-top-style) var(--graupl-breadcrumb-link-border-right-style) var(--graupl-breadcrumb-link-border-bottom-style) var(--graupl-breadcrumb-link-border-left-style)
--graupl-breadcrumb-toggle-padding-xHorizontal padding for the breadcrumb toggle.var(--graupl-breadcrumb-link-padding-x)
--graupl-breadcrumb-toggle-padding-yVertical padding for the breadcrumb toggle.var(--graupl-breadcrumb-link-padding-y)
--graupl-breadcrumb-toggle-paddingPadding for the breadcrumb toggle.var(--graupl-breadcrumb-toggle-padding-y) var(--graupl-breadcrumb-toggle-padding-x)
--graupl-breadcrumb-toggle-transition-durationTransition duration for the breadcrumb toggle.var(--graupl-breadcrumb-link-transition-duration)
--graupl-breadcrumb-toggle-transition-timing-functionTransition timing function for the breadcrumb toggle.var(--graupl-breadcrumb-link-transition-timing-function)
--graupl-breadcrumb-toggle-transitionTransition applied to the breadcrumb toggle.transform var(--graupl-breadcrumb-toggle-transition-duration) var(--graupl-breadcrumb-toggle-transition-timing-function)
--graupl-breadcrumb-toggle-transition-reduced-motionTransition used for the breadcrumb toggle when reduced motion is requested.var(--graupl-breadcrumb-link-transition-reduced-motion)
--graupl-breadcrumb-toggle-transformTransform for the breadcrumb toggle.var(--graupl-breadcrumb-link-transform)
--graupl-breadcrumb-toggle-visited-transformTransform for the breadcrumb toggle in the visited state.var(--graupl-breadcrumb-toggle-transform)
--graupl-breadcrumb-toggle-focus-transformTransform for the breadcrumb toggle in the focus state.var(--graupl-breadcrumb-toggle-transform)
--graupl-breadcrumb-toggle-hover-transformTransform for the breadcrumb toggle in the hover state.var(--graupl-breadcrumb-toggle-transform)
--graupl-breadcrumb-toggle-active-transformTransform for the breadcrumb toggle in the active state.var(--graupl-breadcrumb-link-active-transform)
--graupl-breadcrumb-toggle-disabled-transformTransform for the breadcrumb toggle in the disabled state.var(--graupl-breadcrumb-link-disabled-transform)
--graupl-breadcrumb-toggle-colorText color for the breadcrumb toggle.var(--graupl-breadcrumb-link-color)
--graupl-breadcrumb-toggle-backgroundBackground for the breadcrumb toggle.var(--graupl-breadcrumb-link-background)
--graupl-breadcrumb-toggle-visited-colorText color for the breadcrumb toggle in the visited state.var(--graupl-breadcrumb-toggle-color)
--graupl-breadcrumb-toggle-focus-colorText color for the breadcrumb toggle in the focus state.var(--graupl-breadcrumb-toggle-color)
--graupl-breadcrumb-toggle-hover-colorText color for the breadcrumb toggle in the hover state.var(--graupl-breadcrumb-toggle-background)
--graupl-breadcrumb-toggle-active-colorText color for the breadcrumb toggle in the active state.var(--graupl-breadcrumb-toggle-hover-color)
--graupl-breadcrumb-toggle-disabled-colorText color for the breadcrumb toggle in the disabled state.var(--graupl-theme-active--primary--200)
--graupl-breadcrumb-toggle-visited-backgroundBackground for the breadcrumb toggle in the visited state.var(--graupl-breadcrumb-toggle-background)
--graupl-breadcrumb-toggle-focus-backgroundBackground for the breadcrumb toggle in the focus state.var(--graupl-breadcrumb-toggle-background)
--graupl-breadcrumb-toggle-hover-backgroundBackground for the breadcrumb toggle in the hover state.var(--graupl-breadcrumb-toggle-color)
--graupl-breadcrumb-toggle-active-backgroundBackground for the breadcrumb toggle in the active state.var(--graupl-breadcrumb-toggle-hover-background)
--graupl-breadcrumb-toggle-disabled-backgroundBackground for the breadcrumb toggle in the disabled state.var(--graupl-theme-active--primary--200)
--graupl-breadcrumb-toggle-border-colorBorder color for the breadcrumb toggle.var(--graupl-breadcrumb-toggle-color)
--graupl-breadcrumb-toggle-visited-border-colorBorder color for the breadcrumb toggle in the visited state.var(--graupl-breadcrumb-toggle-border-color)
--graupl-breadcrumb-toggle-focus-border-colorBorder color for the breadcrumb toggle in the focus state.var(--graupl-breadcrumb-toggle-border-color)
--graupl-breadcrumb-toggle-hover-border-colorBorder color for the breadcrumb toggle in the hover state.var(--graupl-breadcrumb-toggle-color)
--graupl-breadcrumb-toggle-active-border-colorBorder color for the breadcrumb toggle in the active state.var(--graupl-breadcrumb-toggle-hover-border-color)
--graupl-breadcrumb-toggle-disabled-border-colorBorder color for the breadcrumb toggle in the disabled state.var(--graupl-theme-active--primary--200)
--graupl-breadcrumb-toggle-border-top-left-radiusTop-left border radius for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-top-left-radius)
--graupl-breadcrumb-toggle-border-top-right-radiusTop-right border radius for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-top-right-radius)
--graupl-breadcrumb-toggle-border-bottom-left-radiusBottom-left border radius for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-bottom-left-radius)
--graupl-breadcrumb-toggle-border-bottom-right-radiusBottom-right border radius for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-bottom-right-radius)
--graupl-breadcrumb-toggle-border-radiusBorder radius for the breadcrumb toggle.var(--graupl-breadcrumb-toggle-border-top-left-radius) var(--graupl-breadcrumb-toggle-border-top-right-radius) var(--graupl-breadcrumb-toggle-border-bottom-right-radius) var(--graupl-breadcrumb-toggle-border-bottom-left-radius)
--graupl-breadcrumb-toggle-border-top-widthTop border width for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-top-width)
--graupl-breadcrumb-toggle-border-right-widthRight border width for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-right-width)
--graupl-breadcrumb-toggle-border-bottom-widthBottom border width for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-bottom-width)
--graupl-breadcrumb-toggle-border-left-widthLeft border width for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-left-width)
--graupl-breadcrumb-toggle-border-widthBorder width for the breadcrumb toggle.var(--graupl-breadcrumb-toggle-border-top-width) var(--graupl-breadcrumb-toggle-border-right-width) var(--graupl-breadcrumb-toggle-border-bottom-width) var(--graupl-breadcrumb-toggle-border-left-width)
--graupl-breadcrumb-toggle-border-top-styleTop border style for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-top-style)
--graupl-breadcrumb-toggle-border-right-styleRight border style for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-right-style)
--graupl-breadcrumb-toggle-border-bottom-styleBottom border style for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-bottom-style)
--graupl-breadcrumb-toggle-border-left-styleLeft border style for the breadcrumb toggle.var(--graupl-breadcrumb-link-border-left-style)
--graupl-breadcrumb-toggle-border-styleBorder style for the breadcrumb toggle.var(--graupl-breadcrumb-toggle-border-top-style) var(--graupl-breadcrumb-toggle-border-right-style) var(--graupl-breadcrumb-toggle-border-bottom-style) var(--graupl-breadcrumb-toggle-border-left-style)

Sass variables ​

The following Sass variables can be used to customize the generation of the breadcrumb component:

VariableDescriptionDefault Value
$selector-baseSelector base for the component."."
$modifier-selector-baseSelector base for component modifiers."."
$generate-base-theme-mapFlag to generate the base theme map.true
$themeableFlag to generate theme modifiers.false
$breadcrumb-selector-baseSelector base for the breadcrumb container."."
$breadcrumb-selectorSelector for the breadcrumb container."breadcrumb"
$breadcrumb-theme-selector-baseSelector base for theme modifiers."."
$breadcrumb-theme-selector-prefixSelector prefix for theme modifiers.""
$breadcrumb-item-selector-baseSelector base for breadcrumb items."."
$breadcrumb-item-selectorSelector for breadcrumb items."breadcrumb-item"
$breadcrumb-item-separator-pseudo-selectorPseudo selector for breadcrumb separators."after"
$breadcrumb-item-separatorContent used as the breadcrumb separator."'/'"
$breadcrumb-toggle-selector-baseSelector base for breadcrumb toggles."."
$breadcrumb-toggle-selectorSelector for breadcrumb toggles."breadcrumb-toggle"
$breadcrumb-link-selector-baseSelector base for breadcrumb links."."
$breadcrumb-link-selectorSelector for breadcrumb links."breadcrumb-link"
$breadcrumb-open-selector-baseSelector base for the open breadcrumb modifier."."
$breadcrumb-open-selectorSelector for the open breadcrumb modifier."show"
$breadcrumb-close-selector-baseSelector base for the closed breadcrumb modifier."."
$breadcrumb-close-selectorSelector for the closed breadcrumb modifier."hide"
$breadcrumb-transition-selector-baseSelector base for the transitioning modifier."."
$breadcrumb-transition-selectorSelector for the transitioning modifier."transitioning"
$breadcrumb-link-initial-transformInitial transform for breadcrumb links.none
$breadcrumb-link-final-transformFinal transform for breadcrumb links.none
$breadcrumb-link-disabled-transformDisabled transform for breadcrumb links.none
$breadcrumb-item-show-displayDisplay for shown breadcrumb items.flex
$breadcrumb-item-hide-displayDisplay for hidden breadcrumb items.none
$breadcrumb-item-transitioning-displayDisplay for transitioning breadcrumb items.flex
$breadcrumb-item-show-opacityOpacity for shown breadcrumb items.1
$breadcrumb-item-hide-opacityOpacity for hidden breadcrumb items.0
$breadcrumb-item-transitioning-opacityOpacity for transitioning breadcrumb items.0
$breadcrumb-theme-mappingsMap of properties/shades for breadcrumb themes.()
$breadcrumb-theme-mapExpanded map of properties/colors/shades.()