Trace Stepper
A copy-paste steppers & wizards component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Steppers & WizardsHTMLCSSany framework
PlanBuildTestShip
Copy into your project
HTML
<div class="nuda-step-trace">
<svg viewBox="0 0 240 16" preserveAspectRatio="none" aria-hidden="true">
<line x1="0" y1="8" x2="240" y2="8"
stroke="rgba(255,255,255,0.06)" stroke-width="2" />
<line class="nuda-step-trace__draw" x1="0" y1="8" x2="240" y2="8"
stroke="#e4ff54" stroke-width="2" />
</svg>
<div class="nuda-step-trace__nodes">
<span class="is-done"></span>
<span class="is-done"></span>
<span class="is-active"></span>
<span></span>
</div>
<div class="nuda-step-trace__labels">
<span>Plan</span><span>Build</span><span>Test</span><span>Ship</span>
</div>
</div>CSS
.nuda-step-trace {
position: relative;
width: 100%;
max-width: 280px;
padding: 12px 0;
}
.nuda-step-trace svg {
position: absolute;
top: 18px;
left: 0;
right: 0;
width: 100%;
height: 8px;
}
.nuda-step-trace__draw {
stroke-dasharray: 240;
stroke-dashoffset: 120;
animation: _traceDraw 2s cubic-bezier(.16,1,.3,1) forwards;
filter: drop-shadow(0 0 4px #e4ff54);
}
.nuda-step-trace__nodes {
position: relative;
display: grid;
grid-template-columns: repeat(4,1fr);
justify-items: center;
align-items: center;
height: 16px;
z-index: 1;
}
.nuda-step-trace__nodes span {
width: 10px;
height: 10px;
border-radius: 50%;
background: rgba(255,255,255,.08);
border: 2px solid #0c0c10;
transition: background .35s,box-shadow .35s,transform .25s;
}
.nuda-step-trace__nodes span.is-done {
background: #e4ff54;
}
.nuda-step-trace__nodes span.is-active {
background: #e4ff54;
box-shadow: 0 0 0 4px rgba(228,255,84,.25);
transform: scale(1.2);
animation: _tracePing 2s ease-in-out infinite;
}
.nuda-step-trace__labels {
display: grid;
grid-template-columns: repeat(4,1fr);
justify-items: center;
color: #a0a0a8;
font-size: 10px;
margin-top: 6px;
}
@keyframes _traceDraw {
to {
stroke-dashoffset: 0;
}
}
@keyframes _tracePing {
0%,100% {
box-shadow: 0 0 0 4px rgba(228,255,84,.25);
}
50% {
box-shadow: 0 0 0 8px rgba(228,255,84,0);
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-step-trace__draw {
animation: none;
stroke-dashoffset: 0;
}
.nuda-step-trace__nodes span.is-active {
animation: none;
}
}
How to use Trace Stepper
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.