Skip to content

Gradient 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-bcg">
  <a class="nuda-bcg__link" href="#">Home</a>
  <span class="nuda-bcg__sep">›</span>
  <a class="nuda-bcg__link" href="#">Blog</a>
  <span class="nuda-bcg__sep">›</span>
  <span class="nuda-bcg__cur">Article</span>
</nav>
CSS
.nuda-bcg {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
}

.nuda-bcg__link {
  color: #999;
  cursor: pointer;
}

.nuda-bcg__link:hover {
  color: #fafafa;
}

.nuda-bcg__sep {
  color: #555;
}

.nuda-bcg__cur {
  font-weight: 700;
  background: linear-gradient(90deg,#e4ff54,#6ee7b7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

How to use Gradient 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