Slash 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-bcs">
<a class="nuda-bcs__link" href="#">docs</a>
<span class="nuda-bcs__sep">/</span>
<a class="nuda-bcs__link" href="#">guides</a>
<span class="nuda-bcs__sep">/</span>
<span class="nuda-bcs__cur">install</span>
</nav>CSS
.nuda-bcs {
display: inline-flex;
align-items: center;
gap: .4rem;
font-family: ui-monospace,Menlo,monospace;
font-size: .78rem;
}
.nuda-bcs__link {
color: #888;
cursor: pointer;
}
.nuda-bcs__link:hover {
color: #e4ff54;
}
.nuda-bcs__sep {
color: #444;
}
.nuda-bcs__cur {
color: #e4ff54;
}
How to use Slash 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.