Skip to content

Numbered Milestones

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

TimelinesHTMLCSSany framework
1
IdeationResearch & scope
2
PrototypeWireframes & flows
3
LaunchShip to production
4
IterateFeedback & polish

Copy into your project

HTML
<div class="nuda-tl-mile">
  <div class="nuda-tl-mile__item nuda-tl-mile__item--done">
    <div class="nuda-tl-mile__num">1</div>
    <div class="nuda-tl-mile__text">
      <strong class="nuda-tl-mile__title">Ideation</strong>
      <span class="nuda-tl-mile__desc">Research &amp; scope</span>
    </div>
  </div>
  <div class="nuda-tl-mile__item nuda-tl-mile__item--done">
    <div class="nuda-tl-mile__num">2</div>
    <div class="nuda-tl-mile__text">
      <strong class="nuda-tl-mile__title">Prototype</strong>
      <span class="nuda-tl-mile__desc">Wireframes &amp; flows</span>
    </div>
  </div>
  <div class="nuda-tl-mile__item nuda-tl-mile__item--active">
    <div class="nuda-tl-mile__num">3</div>
    <div class="nuda-tl-mile__text">
      <strong class="nuda-tl-mile__title">Launch</strong>
      <span class="nuda-tl-mile__desc">Ship to production</span>
    </div>
  </div>
  <div class="nuda-tl-mile__item">
    <div class="nuda-tl-mile__num">4</div>
    <div class="nuda-tl-mile__text">
      <strong class="nuda-tl-mile__title">Iterate</strong>
      <span class="nuda-tl-mile__desc">Feedback &amp; polish</span>
    </div>
  </div>
</div>
CSS
.nuda-tl-mile {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 220px;
}

.nuda-tl-mile__item {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-bottom: 18px;
}

.nuda-tl-mile__item:last-child {
  padding-bottom: 0;
}

.nuda-tl-mile__item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.06);
}

.nuda-tl-mile__item:last-child::before {
  display: none;
}

.nuda-tl-mile__item--done::before {
  background: rgba(228,255,84,.3);
}

.nuda-tl-mile__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,.04);
  border: 2px solid rgba(255,255,255,.1);
  color: #555;
  flex-shrink: 0;
  transition: all .2s;
}

.nuda-tl-mile__item--done .nuda-tl-mile__num {
  background: #e4ff54;
  border-color: #e4ff54;
  color: #0a0a0a;
}

.nuda-tl-mile__item--active .nuda-tl-mile__num {
  background: rgba(228,255,84,.1);
  border-color: #e4ff54;
  color: #e4ff54;
}

.nuda-tl-mile__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nuda-tl-mile__title {
  font-size: 12px;
  color: #cfcfcf;
  font-weight: 600;
}

.nuda-tl-mile__item--active .nuda-tl-mile__title {
  color: #fafafa;
}

.nuda-tl-mile__desc {
  font-size: 10px;
  color: #555;
}

How to use Numbered Milestones

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 timelines components

← Browse all NudaUI components