# Breadcrumb (`.z-breadcrumb`)

> Hierarchical navigation trail with automatic dividers and an emphasized current page.

- **Kind:** css
- **Category:** navigation

## CSS Variables

| Variable | Default | Scope | Affects | Description |
| --- | --- | --- | --- | --- |
| `--z-breadcrumb-disabled-opacity` | `0.5` | `.z-breadcrumb > .z-disabled > *` | `opacity` | Opacity of crumbs inside a `z-disabled` item. |
| `--z-breadcrumb-divider` | `'/'` | `.z-breadcrumb > :nth-child(n + 2):not(.z-first-column)::before` | `content` | Divider character inserted before every crumb except the first. |
| `--z-breadcrumb-divider-margin-end` | `0.75rem` | `.z-breadcrumb > :nth-child(n + 2):not(.z-first-column)::before` | `margin-inline` | Space after the divider character. |
| `--z-breadcrumb-divider-margin-start` | `0.5rem` | `.z-breadcrumb > :nth-child(n + 2):not(.z-first-column)::before` | `margin-inline` | 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. |

## Notes

- Structure: `.z-breadcrumb > li > a` or `span`; the last crumb is emphasized automatically.
- Render the current page as a `span` or an anchor without `href`.
- Add `z-disabled` to a crumb's `li` to mute it and block pointer events.

## Guides

- [Styling with cls and stl](https://next.0build.dev/docs/guides/styling.md)
- [Translating Components](https://next.0build.dev/docs/guides/i18n.md)
- [Icon Resolution](https://next.0build.dev/docs/guides/icons.md)
- [The data-source Convention](https://next.0build.dev/docs/guides/data-source.md)
- [Openers & Triggers](https://next.0build.dev/docs/guides/triggers.md)
- [Dialog Behavior](https://next.0build.dev/docs/guides/dialogs.md)
- [Utilities](https://next.0build.dev/docs/guides/utilities.md)
- [Runtime](https://next.0build.dev/docs/guides/runtime.md)
