Pill 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-bcp">
<a class="nuda-bcp__crumb" href="#">Home</a>
<a class="nuda-bcp__crumb" href="#">Team</a>
<span class="nuda-bcp__crumb nuda-bcp__crumb--on">Settings</span>
</nav>CSS
.nuda-bcp {
display: inline-flex;
align-items: center;
gap: .35rem;
font-size: .78rem;
}
.nuda-bcp__crumb {
padding: .3rem .7rem;
border-radius: 99px;
background: #1a1a1a;
color: #aaa;
cursor: pointer;
transition: all .15s;
}
.nuda-bcp__crumb:hover {
background: #262626;
color: #fafafa;
}
.nuda-bcp__crumb--on {
background: #e4ff54;
color: #0a0a0a;
font-weight: 600;
}
How to use Pill 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.