Skip to content

Underline Breadcrumb

A copy-paste breadcrumbs component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

BreadcrumbsHTMLCSSany framework

Copy into your project

HTML
<nav class="nuda-bcu">
  <a class="nuda-bcu__link" href="#">Home</a>
  <span class="nuda-bcu__sep">/</span>
  <a class="nuda-bcu__link" href="#">Docs</a>
  <span class="nuda-bcu__sep">/</span>
  <span class="nuda-bcu__cur">Hooks</span>
</nav>
CSS
.nuda-bcu {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
}

.nuda-bcu__link {
  color: #999;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all .15s;
}

.nuda-bcu__link:hover {
  color: #fafafa;
  border-bottom-color: #e4ff54;
}

.nuda-bcu__sep {
  color: #555;
}

.nuda-bcu__cur {
  color: #fafafa;
  font-weight: 600;
  border-bottom: 1px solid #e4ff54;
}

How to use Underline Breadcrumb

Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.

Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.

More breadcrumbs components

← Browse all NudaUI components