Numbered 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-bcn">
<span class="nuda-bcn__step nuda-bcn__step--done"><span class="nuda-bcn__num">1</span> Account</span>
<span class="nuda-bcn__step nuda-bcn__step--on"><span class="nuda-bcn__num">2</span> Profile</span>
<span class="nuda-bcn__step"><span class="nuda-bcn__num">3</span> Done</span>
</nav>CSS
.nuda-bcn {
display: inline-flex;
align-items: center;
gap: 1rem;
font-size: .78rem;
}
.nuda-bcn__step {
display: inline-flex;
align-items: center;
gap: .4rem;
color: #777;
}
.nuda-bcn__num {
width: 20px;
height: 20px;
border-radius: 50%;
border: 1px solid rgba(255,255,255,.2);
display: inline-flex;
align-items: center;
justify-content: center;
font-size: .65rem;
}
.nuda-bcn__step--done {
color: #aaa;
}
.nuda-bcn__step--done .nuda-bcn__num {
background: #6ee7b7;
border-color: #6ee7b7;
color: #0a0a0a;
}
.nuda-bcn__step--on {
color: #fafafa;
}
.nuda-bcn__step--on .nuda-bcn__num {
background: #e4ff54;
border-color: #e4ff54;
color: #0a0a0a;
font-weight: 700;
}
How to use Numbered 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.