Vertical Stepper
A copy-paste steppers & wizards component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Steppers & WizardsHTMLCSSany framework
- Verify email
Confirm your address
- Set password
Use 12+ characters
- Invite team
Optional — skip if solo
Copy into your project
HTML
<ol class="nuda-step-vert">
<li class="is-done">
<span class="nuda-step-vert__dot"></span>
<div>
<strong>Verify email</strong>
<p>Confirm your address</p>
</div>
</li>
<!-- More steps -->
</ol>CSS
.nuda-step-vert {
padding: 0 0 0 8px;
margin: 0;
list-style: none;
position: relative;
width: 100%;
max-width: 240px;
}
.nuda-step-vert li {
position: relative;
display: flex;
gap: 14px;
padding-bottom: 18px;
}
.nuda-step-vert li:last-child {
padding-bottom: 0;
}
.nuda-step-vert li::before {
content: '';
position: absolute;
left: 5px;
top: 14px;
bottom: -4px;
width: 2px;
background: rgba(255,255,255,.06);
transition: background .5s;
}
.nuda-step-vert li:last-child::before {
display: none;
}
.nuda-step-vert__dot {
position: relative;
width: 12px;
height: 12px;
border-radius: 50%;
background: rgba(255,255,255,.06);
border: 2px solid rgba(255,255,255,.1);
flex-shrink: 0;
margin-top: 1px;
transition: background .35s,border-color .35s,transform .25s;
}
.nuda-step-vert li.is-done::before {
background: #e4ff54;
}
.nuda-step-vert li.is-done .nuda-step-vert__dot {
background: #e4ff54;
border-color: #e4ff54;
}
.nuda-step-vert li.is-active .nuda-step-vert__dot {
background: #e4ff54;
border-color: #e4ff54;
animation: _vstepPulse 2s ease-in-out infinite;
}
.nuda-step-vert strong {
color: #fafafa;
font-size: 12px;
font-weight: 600;
display: block;
line-height: 1.3;
}
.nuda-step-vert p {
color: #a0a0a8;
font-size: 11px;
margin: 1px 0 0;
}
.nuda-step-vert li.is-active strong {
color: #e4ff54;
}
@keyframes _vstepPulse {
0%,100% {
box-shadow: 0 0 0 0 rgba(228,255,84,.5);
}
50% {
box-shadow: 0 0 0 6px rgba(228,255,84,0);
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-step-vert li.is-active .nuda-step-vert__dot {
animation: none;
}
}
How to use Vertical 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.