# Arrow Breadcrumbs

> Breadcrumbs shaped as interlocking arrow segments with clip-path, with the current page filled in.

- Category: [CSS Navigation](https://copy-css.com/category/navigation)
- Tags: breadcrumbs, chevron, clip-path, steps, ribbon
- Live preview: https://copy-css.com/snippets/arrow-breadcrumbs
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<nav class="arrow-crumbs" aria-label="Breadcrumb">
  <ol>
    <li><a href="#">Shop</a></li>
    <li><a href="#">Shoes</a></li>
    <li><span aria-current="page">Running</span></li>
  </ol>
</nav>
```

## CSS

```css
.arrow-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 600 13px system-ui, sans-serif;
}

.arrow-crumbs a,
.arrow-crumbs span {
  position: relative;
  z-index: 0;
  display: block;
  padding: 9px 14px 9px 22px;
  color: #4338ca;
  text-decoration: none;
}

.arrow-crumbs li + li {
  margin-left: -6px;
}

/* Arrow shape lives on a pseudo-element so focus outlines are not clipped */
.arrow-crumbs a::before,
.arrow-crumbs span::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #e0e7ff;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
  transition: background-color 0.2s ease;
}

.arrow-crumbs li:first-child a::before {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.arrow-crumbs li:first-child a {
  padding-left: 14px;
}

.arrow-crumbs a:hover::before {
  background: #c7d2fe;
}

.arrow-crumbs span {
  color: #ffffff;
}

.arrow-crumbs span::before {
  background: #4f46e5;
}

.arrow-crumbs a:focus-visible {
  border-radius: 4px;
  outline: 2px solid #4f46e5;
  outline-offset: 1px;
}
```

## Notes

- This CSS Arrow Breadcrumbs is 61 lines of pure CSS (1.2 KB) with no JavaScript and no dependencies. It uses transitions, clip paths, Flexbox and keyboard focus styles.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
