Numbered Steps
A copy-paste steppers & wizards component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Steppers & WizardsHTMLCSSany framework
01
Choose plan
02
Add billing info
03
Confirm
Copy into your project
HTML
<div class="nuda-numsteps">
<div class="nuda-numsteps__item is-done">
<span class="nuda-numsteps__num">01</span>
<div>Choose plan</div>
</div>
<div class="nuda-numsteps__sep"></div>
<div class="nuda-numsteps__item is-active">
<span class="nuda-numsteps__num">02</span>
<div>Add billing info</div>
</div>
<div class="nuda-numsteps__sep"></div>
<div class="nuda-numsteps__item">
<span class="nuda-numsteps__num">03</span>
<div>Confirm</div>
</div>
</div>CSS
.nuda-numsteps {
display: flex;
align-items: center;
gap: 8px;
padding: 14px;
background: rgba(255,255,255,.02);
border: 1px solid rgba(255,255,255,.06);
border-radius: 14px;
width: 100%;
max-width: 380px;
flex-wrap: wrap;
}
.nuda-numsteps__item {
display: flex;
align-items: center;
gap: 8px;
color: #63636e;
font-size: 11px;
font-weight: 500;
flex: 1;
}
.nuda-numsteps__num {
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
border: 1px solid rgba(255,255,255,.1);
border-radius: 7px;
font-size: 10px;
font-variant-numeric: tabular-nums;
color: #a0a0a8;
font-weight: 700;
transition: background .35s,border-color .35s,color .35s,transform .25s;
}
.nuda-numsteps__item.is-active {
color: #fafafa;
}
.nuda-numsteps__item.is-active .nuda-numsteps__num {
background: rgba(228,255,84,.1);
border-color: #e4ff54;
color: #e4ff54;
transform: rotate(-4deg);
}
.nuda-numsteps__item.is-done {
color: #a0a0a8;
}
.nuda-numsteps__item.is-done .nuda-numsteps__num {
background: #e4ff54;
border-color: #e4ff54;
color: #09090b;
}
.nuda-numsteps__sep {
height: 1px;
flex: 0 0 14px;
background: rgba(255,255,255,.06);
}
How to use Numbered Steps
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.