Back to the library

Crucible verify

Variant: Standard

A status row for checks that run under load, like a stress suite, a deploy gate or a signature check. A broken outer ring tightens around a warming core, then falls away as a solid ring draws and a tick lands. The squeeze uses ease-in-out over most of the cycle, so the pressure builds slowly, speeds up and then settles. The ring that falls away and the ring that draws use ease-out, so the result appears right away.

verificationstatusloaderconfirmationstate-change

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>Crucible verify — Standard</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.6s; /* 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 */

  --_stroke: 2.25;
  --_tick: 2.5;
  --_squeeze: 0.88;
  --_heat: 0.26;
  --_settle: 0.12;
}

* { box-sizing: border-box; margin: 0; }

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

.card {
  width: min(300px, 88vw);
  display: flex;
  align-items: center;
  gap: clamp(12px, 3.5vw, 16px);
  padding: clamp(14px, 4vw, 18px) clamp(16px, 5vw, 22px);
  background: var(--paper);
  border: 1px solid var(--oat);
  border-radius: calc(14px * var(--round));
}

.mark {
  flex: none;
  width: clamp(36px, 11vw, 44px);
  height: auto;
  overflow: visible;
}

.mark * {
  transform-box: fill-box;
  transform-origin: center;
  fill: none;
}

.heat {
  fill: var(--clay);
  opacity: 0;
  animation: heat var(--t) linear infinite;
}

.press { animation: press var(--t) linear infinite; }

.dross {
  stroke: var(--clay);
  stroke-width: var(--_stroke);
  stroke-dasharray: 7 3;
  animation: spin var(--t) linear infinite;
}

.core {
  stroke: var(--clay-d);
  stroke-width: var(--_stroke);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform: rotate(-90deg);
  animation: core var(--t) linear infinite;
}

.tick {
  stroke: var(--clay-d);
  stroke-width: var(--_tick);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: tick var(--t) linear infinite;
}

.text { display: grid; gap: 2px; min-width: 0; }

.labels { display: grid; }

.labels span {
  grid-area: 1 / 1;
  font-size: clamp(14px, 3.9vw, 16px);
  line-height: 1.3;
  white-space: nowrap;
}

.l-run { font-weight: 500; animation: run var(--t) linear infinite; }
.l-done { font-weight: 600; opacity: 0; animation: done var(--t) linear infinite; }

.meta {
  font-size: clamp(12px, 3.3vw, 13px);
  opacity: 0.6;
}

@keyframes spin { to { transform: rotate(180deg); } }

/* The squeeze takes the long middle of the loop on ease-in-out: pressure builds, peaks, then the dross gives way on ease-out. */
@keyframes press {
  0% { transform: scale(1.04); opacity: 0; animation-timing-function: var(--ease-out); }
  8% { transform: scale(1); opacity: 1; animation-timing-function: var(--ease-in-out); }
  52% { transform: scale(var(--_squeeze)); opacity: 1; animation-timing-function: var(--ease-out); }
  62%, 100% { transform: scale(calc(var(--_squeeze) * 0.95)); opacity: 0; }
}

@keyframes heat {
  0% { opacity: 0; transform: scale(0.94); animation-timing-function: var(--ease-in-out); }
  52% { opacity: var(--_heat); transform: scale(1); animation-timing-function: var(--ease-out); }
  64%, 88% { opacity: var(--_settle); transform: scale(1); animation-timing-function: var(--ease-out); }
  96%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes core {
  0%, 50% { stroke-dashoffset: 100; opacity: 0; animation-timing-function: var(--ease-out); }
  64%, 88% { stroke-dashoffset: 0; opacity: 1; animation-timing-function: var(--ease-out); }
  96%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes tick {
  0%, 58% { stroke-dashoffset: 100; opacity: 0; animation-timing-function: var(--ease-out); }
  70%, 88% { stroke-dashoffset: 0; opacity: 1; animation-timing-function: var(--ease-out); }
  96%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes run {
  0% { opacity: 0; transform: translateY(0.3em); animation-timing-function: var(--ease-out); }
  8%, 50% { opacity: 1; transform: translateY(0); animation-timing-function: var(--ease-out); }
  57%, 100% { opacity: 0; transform: translateY(-0.3em); }
}

@keyframes done {
  0%, 56% { opacity: 0; transform: translateY(0.3em); animation-timing-function: var(--ease-out); }
  66%, 88% { opacity: 1; transform: translateY(0); animation-timing-function: var(--ease-out); }
  95%, 100% { opacity: 0; transform: translateY(-0.3em); }
}

@keyframes press-calm { 0% { opacity: 0.15; } 10%, 50% { opacity: 1; } 62%, 100% { opacity: 0.15; } }
@keyframes heat-calm { 0% { opacity: 0; } 52% { opacity: var(--_heat); } 64%, 88% { opacity: var(--_settle); } 96%, 100% { opacity: 0; } }
@keyframes core-calm { 0%, 48% { opacity: 0.15; } 62%, 88% { opacity: 1; } 96%, 100% { opacity: 0.15; } }
@keyframes tick-calm { 0%, 56% { opacity: 0; } 68%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes run-calm { 0% { opacity: 0; } 8%, 50% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes done-calm { 0%, 56% { opacity: 0; } 66%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }

@media (max-width: 380px) {
  .card { padding: 12px 14px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .dross { animation: none; }
  .press { animation-name: press-calm; }
  .heat { animation-name: heat-calm; }
  .core { animation-name: core-calm; stroke-dashoffset: 0; }
  .tick { animation-name: tick-calm; stroke-dashoffset: 0; }
  .l-run { animation-name: run-calm; }
  .l-done { animation-name: done-calm; }
  .press, .heat, .core, .tick, .l-run, .l-done {
    animation-duration: calc(var(--t) * 2);
    animation-timing-function: var(--ease-in-out);
  }
}
</style>
</head>
<body>
  <div class="card" role="status">
    <svg class="mark" viewBox="0 0 48 48" aria-hidden="true">
      <circle class="heat" cx="24" cy="24" r="14" />
      <g class="press">
        <circle class="dross" cx="24" cy="24" r="19" pathLength="100" />
      </g>
      <circle class="core" cx="24" cy="24" r="14" pathLength="100" />
      <path class="tick" d="M18 24.5l4 4 8-8.5" pathLength="100" />
    </svg>
    <div class="text">
      <div class="labels">
        <span class="l-run">Verifying build</span>
        <span class="l-done">Build verified</span>
      </div>
      <span class="meta">Stress suite · 48 checks</span>
    </div>
  </div>
</body>
</html>

The variant family

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