navigationcss
Breadcrumb
Hierarchical navigation trail with automatic dividers and an emphasized current page.
CSS Variables
| Variable | Default | Scope | Description |
|---|---|---|---|
--z-breadcrumb-disabled-opacity · hook | 0.5 | .z-breadcrumb > .z-disabled > * | Opacity of crumbs inside a z-disabled item. |
--z-breadcrumb-divider · hook | '/' | .z-breadcrumb > :nth-child(n + 2):not(.z-first-column)::before | Divider character inserted before every crumb except the first. |
--z-breadcrumb-divider-margin-end · hook | 0.75rem | .z-breadcrumb > :nth-child(n + 2):not(.z-first-column)::before | Space after the divider character. |
--z-breadcrumb-divider-margin-start · hook | 0.5rem | .z-breadcrumb > :nth-child(n + 2):not(.z-first-column)::before | Space before the divider character. |
CSS Classes
| Class | Role | Applies to | Description |
|---|---|---|---|
.z-breadcrumb | root | .z-breadcrumb | Navigation trail; wrap each crumb in a list item. |