HomeComponentsBreadcrumb

Breadcrumb component

Breadcrumb Generator

Configuration
8px
14px
Colors
html
<nav aria-label="Breadcrumb" class="breadcrumb">
  <ol>
    <li><a href="#">Home</a></li>
    <li><a href="#">Category</a></li>
    <li><a href="#">Subcategory</a></li>
    <li><span aria-current="page">Current Page</span></li>
  </ol>
</nav>
css
.breadcrumb ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #64748b;
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  color: #94a3b8;
}
.breadcrumb a {
  text-decoration: none;
  color: #3b82f6;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  text-decoration: underline;
  color: #3b82f6; /* Or darker shade */
}
.breadcrumb span[aria-current="page"] {
  color: #1e293b;
  font-weight: 600;
}

GET MORE FROM THIS RESOURCE

Show the hierarchy, not browsing history

Breadcrumbs explain where a page sits within a website’s structure. They should lead to meaningful parent pages, not simply repeat the visitor’s recent clicks. Keep the current page as text or clearly identify it when it remains a link.

Use the generator to establish the appearance, then adapt the exported markup and styles to your application. A preview demonstrates the visual treatment; it does not certify your final interaction. Check the implementation with real content, a narrow screen, and keyboard input before publishing.

Try the component in the code editor →