Skip to content

Step Pill Indicator

A copy-paste steppers & wizards component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Steppers & WizardsHTMLCSSany framework
2/5Workspace

Copy into your project

HTML
<div class="nuda-steppill">
  <span class="nuda-steppill__num">2</span>
  <span class="nuda-steppill__sep">/</span>
  <span class="nuda-steppill__total">5</span>
  <span class="nuda-steppill__label">Workspace</span>
</div>
CSS
.nuda-steppill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 8px;
  background: rgba(228,255,84,.06);
  border: 1px solid rgba(228,255,84,.2);
  border-radius: 99px;
  color: #a0a0a8;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.nuda-steppill__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #e4ff54;
  color: #09090b;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  animation: _stepPillBeat 1.6s ease-in-out infinite;
}

.nuda-steppill__sep {
  color: #63636e;
}

.nuda-steppill__total {
  color: #63636e;
}

.nuda-steppill__label {
  color: #fafafa;
  font-weight: 500;
  margin-left: 4px;
}

@keyframes _stepPillBeat {
  0%,100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 3px rgba(228,255,84,.25);
  }
}

@media (prefers-reduced-motion:reduce) {
  .nuda-steppill__num {
    animation: none;
  }
}

How to use Step Pill Indicator

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.

More steppers & wizards components

← Browse all NudaUI components