Back to the library

Service riser boot, cascade

Variant: Cascade

A startup loader for multi-part systems. Each subsystem is a colour-coded pipe that fills, gets a lit node at its end, and then a single "ready" line takes over from the busy text. The pipes are offset by 70ms each, which is enough to read as a sequence of four checks instead of one bar copied four times, and the whole sequence still finishes in under a second. The drain at the end is 190ms against a 700ms fill, so the reset feels quicker than the work.

loaderstatusprogressstaggerstartup

The source

A complete HTML document. Paste it into an empty .html file and it plays — no stylesheet, script, font, or image to fetch.

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Service riser boot — cascade</title>
<style>
:root {
  /* Neutrals — fixed, never remixed. */
  --ivory: #faf9f5;
  --paper: #ffffff;
  --oat: #e3dacc;
  --slate: #141413;

  /* Knobs — the remix API. A knob exists iff declared here and used below. */
  --hue: 38.8;
  --lift: 0;
  --chroma: 1;
  --round: 1; /* include ONLY if at least one border-radius is wrapped below */
  --speed: 1;

  /* Accents — derived from the knobs with the family's offsets baked in,
     so one hue roll moves them together. Defaults reproduce the original hex
     (#d97757 / #b85c3e / #788c5d / #b04a3f). */
  --clay: oklch(calc(0.6724 + var(--lift)) calc(0.1308 * var(--chroma)) var(--hue));
  --clay-d: oklch(calc(0.5797 + var(--lift)) calc(0.127 * var(--chroma)) var(--hue));
  --olive: oklch(calc(0.6118 + var(--lift)) calc(0.0713 * var(--chroma)) calc(var(--hue) + 88.3));
  --rust: oklch(calc(0.5408 + var(--lift)) calc(0.1357 * var(--chroma)) calc(var(--hue) - 10.3));

  /* Clock — every duration in the document runs off --t. */
  --cycle: 3.2s; /* the authored master loop */
  --t: calc(var(--cycle) / var(--speed));

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); /* include only if used */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); /* include only if used */

  --_duct: oklch(calc(0.6 + var(--lift)) calc(0.1 * var(--chroma)) calc(var(--hue) + 206));
  --_amber: oklch(calc(0.78 + var(--lift)) calc(0.13 * var(--chroma)) calc(var(--hue) + 37));
  --_stagger: 70ms;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--ivory);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.card {
  width: min(420px, 92vw);
  padding: clamp(14px, 4vw, 20px);
  display: grid;
  gap: clamp(10px, 3vw, 14px);
  color: var(--slate);
  background-color: var(--paper);
  /* exposed bolts at the four corners */
  background-image:
    radial-gradient(circle at 7px 7px, var(--oat) 0 2px, transparent 2.5px),
    radial-gradient(circle at calc(100% - 7px) 7px, var(--oat) 0 2px, transparent 2.5px),
    radial-gradient(circle at 7px calc(100% - 7px), var(--oat) 0 2px, transparent 2.5px),
    radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), var(--oat) 0 2px, transparent 2.5px);
  border: 1px solid var(--oat);
  border-radius: calc(10px * var(--round));
  font-size: clamp(11px, 2.9vw, 12.5px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--oat);
}

.brace {
  width: 16px;
  height: 16px;
  color: var(--clay-d);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(7px, 2.2vw, 10px);
}

.row,
.status {
  --_delay: calc(var(--_i) * var(--_stagger) / var(--speed));
}

.row {
  display: grid;
  grid-template-columns: 6.4em 1fr 14px;
  align-items: center;
  column-gap: 10px;
}

.pipe {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--oat);
}

.fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--_c);
  animation:
    pipe-fill var(--t) var(--ease-in-out) var(--_delay) infinite both,
    drain var(--t) var(--ease-out) var(--_delay) infinite both;
}

/* couplings: collars that stand proud of the pipe at each joint */
.pipe::after {
  content: '';
  position: absolute;
  inset: -2px 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent calc(25% - 1.5px), var(--oat) calc(25% - 1.5px) calc(25% + 1.5px),
    transparent calc(25% + 1.5px) calc(50% - 1.5px), var(--oat) calc(50% - 1.5px) calc(50% + 1.5px),
    transparent calc(50% + 1.5px) calc(75% - 1.5px), var(--oat) calc(75% - 1.5px) calc(75% + 1.5px),
    transparent calc(75% + 1.5px));
}

.node {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--oat);
}

.node::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--_c);
  animation: node-on var(--t) var(--ease-out) var(--_delay) infinite both;
}

.status {
  display: grid;
}

.status > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.busy {
  animation: busy-out var(--t) var(--ease-out) var(--_delay) infinite both;
}

.ready {
  animation: ready-in var(--t) var(--ease-out) var(--_delay) infinite both;
}

.ready i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
}

/* Fill lands at 22% (~700ms); node and ready line follow in 160ms; drain is faster than fill. */
@keyframes pipe-fill {
  0% { clip-path: inset(0 100% 0 0 round 999px); }
  22%, 94% { clip-path: inset(0 0 0 0 round 999px); }
  100% { clip-path: inset(0 100% 0 0 round 999px); }
}

@keyframes drain {
  0%, 86% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@keyframes node-on {
  0%, 22% { opacity: 0; transform: scale(0.9); }
  27%, 86% { opacity: 1; transform: scale(1); }
  92%, 100% { opacity: 0; transform: scale(0.96); }
}

@keyframes ready-in {
  0%, 22% { opacity: 0; transform: translateY(3px); }
  27%, 86% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0; transform: translateY(0); }
}

@keyframes busy-out {
  0%, 22% { opacity: 0.6; }
  27%, 92% { opacity: 0; }
  98%, 100% { opacity: 0.6; }
}

@keyframes pipe-glow {
  0% { opacity: 0.3; }
  22%, 86% { opacity: 1; }
  94%, 100% { opacity: 0.3; }
}

@keyframes node-glow {
  0%, 22% { opacity: 0; }
  27%, 86% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@keyframes ready-glow {
  0%, 22% { opacity: 0; }
  27%, 86% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@media (max-width: 380px) {
  .row { grid-template-columns: 6em 1fr 14px; column-gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .fill {
    clip-path: none;
    animation: pipe-glow calc(var(--t) * 2) var(--ease-in-out) var(--_delay) infinite both;
  }
  .node::after {
    animation: node-glow calc(var(--t) * 2) var(--ease-out) var(--_delay) infinite both;
  }
  .ready {
    animation: ready-glow calc(var(--t) * 2) var(--ease-out) var(--_delay) infinite both;
  }
  .busy {
    animation: busy-out calc(var(--t) * 2) var(--ease-out) var(--_delay) infinite both;
  }
}
</style>
</head>
<body>
  <div class="card" role="status" aria-label="Environment starting">
    <header class="head">
      <span>Unit 03 · Cold start</span>
      <svg class="brace" viewBox="0 0 16 16" aria-hidden="true"><rect x="1" y="1" width="14" height="14" /><path d="M1 1 15 15M15 1 1 15" /></svg>
    </header>
    <ul class="rows">
      <li class="row" style="--_i: 0; --_c: var(--_duct)"><span>Network</span><span class="pipe"><span class="fill"></span></span><span class="node"></span></li>
      <li class="row" style="--_i: 1; --_c: var(--olive)"><span>Storage</span><span class="pipe"><span class="fill"></span></span><span class="node"></span></li>
      <li class="row" style="--_i: 2; --_c: var(--_amber)"><span>Compute</span><span class="pipe"><span class="fill"></span></span><span class="node"></span></li>
      <li class="row" style="--_i: 3; --_c: var(--rust)"><span>Auth</span><span class="pipe"><span class="fill"></span></span><span class="node"></span></li>
    </ul>
    <footer class="status" style="--_i: 3">
      <span class="busy">Bringing units online</span>
      <span class="ready"><i></i>Environment ready</span>
    </footer>
  </div>
</body>
</html>

The variant family

Same idea, one axis moved. Compare them side by side before you commit.