Skip to content

Breadcrumb Trail

A clean breadcrumb navigation with animated separators and a glowing current-page indicator.

Embed this component

Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/breadcrumb-trail.

<iframe src="/embed/breadcrumb-trail" sandbox="allow-scripts" loading="lazy" title="Breadcrumb Trail" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Breadcrumb Trail. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.

HTML
<nav class="breadcrumb">
  <a href="#">Home</a> <span class="sep">›</span>
  <a href="#">Products</a> <span class="sep">›</span>
  <a href="#">Electronics</a> <span class="sep">›</span>
  <span class="current">Headphones</span>
</nav>
CSS
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

.breadcrumb .current {
  color: #8b5cf6;
  text-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

Where Breadcrumb Trail fits

  • Page Hierarchy
  • Navigation Trail
  • E-commerce

Topics

  • #breadcrumb
  • #trail
  • #hierarchy
  • #navigation