Back to the library

Holo sweep loader, bold

Variant: Bold

The same indeterminate dialog loader with an 18px track. The band covers half the bar and has stronger scanlines and a brighter top highlight. Use it when the wait is the main thing on screen, like a blocking install or a first-run import. The sweep keeps the same linear 1.8s cycle as the lighter variants. The extra visual weight comes from the band's size and opacity, not from speed, so it looks heavier without looking hurried.

loaderprogressindeterminateholographicprominent

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>Holo sweep loader — Bold</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: 1.8s; /* the authored master loop */
  --t: calc(var(--cycle) / var(--speed));

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

  /* Pastel film, hue-locked to the knobs so a hue roll keeps the set together. */
  --_pink: oklch(calc(0.86 + var(--lift)) calc(0.07 * var(--chroma)) calc(var(--hue) - 30));
  --_lilac: oklch(calc(0.8 + var(--lift)) calc(0.08 * var(--chroma)) calc(var(--hue) + 260));
  --_blue: oklch(calc(0.86 + var(--lift)) calc(0.06 * var(--chroma)) calc(var(--hue) + 190));
  --_sea: oklch(calc(0.88 + var(--lift)) calc(0.06 * var(--chroma)) calc(var(--hue) + 130));
  --_shade: color-mix(in oklch, var(--slate) 14%, transparent);

  /* Weight — the only tokens that change across the family. */
  --_track-h: 18px;
  --_band: 52%;
  --_band-op: 1;
  --_scan-op: 0.5;
  --_gloss-op: 0.7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  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;
}

.win {
  width: min(360px, 88vw);
  background: var(--paper);
  border: 1px solid var(--oat);
  border-radius: calc(6px * var(--round));
  box-shadow: 0 12px 26px -14px var(--_shade);
  overflow: hidden;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  background: linear-gradient(90deg, var(--_lilac), var(--_blue));
}

.title {
  font-size: clamp(11px, 3vw, 12px);
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.ctl { display: flex; gap: 4px; }
.ctl i {
  width: 12px;
  height: 12px;
  border-radius: calc(2px * var(--round));
  background: var(--paper);
  opacity: 0.8;
  box-shadow: inset -1px -1px 0 var(--_shade);
}

.body {
  padding: clamp(14px, 4.5vw, 20px);
  display: grid;
  gap: clamp(8px, 2.6vw, 12px);
}

.label { margin: 0; font-size: clamp(13px, 3.8vw, 15px); font-weight: 600; }
.meta { margin: 0; font-size: clamp(11px, 3.2vw, 12.5px); opacity: 0.62; }

.track {
  position: relative;
  height: var(--_track-h);
  border-radius: 999px;
  background: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--oat), inset 0 1px 2px var(--_shade);
  overflow: hidden;
}

/* The wrapper spans the full track, so its % translate is in track widths:
   start one band-width off the left, end fully past the right. */
.sweep {
  position: absolute;
  inset: 0;
  transform: translateX(calc(var(--_band) * -1));
  animation: sweep var(--t) linear infinite;
  will-change: transform;
}

.band {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: var(--_band);
  opacity: var(--_band-op);
  background: linear-gradient(90deg, var(--_pink), var(--_lilac) 35%, var(--_blue) 65%, var(--_sea));
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--slate) 22%, var(--slate) 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--slate) 22%, var(--slate) 78%, transparent);
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, var(--paper) 0 1px, transparent 1px 3px);
  opacity: var(--_scan-op);
}

.band::after {
  content: "";
  position: absolute;
  inset: 0 0 50% 0;
  background: linear-gradient(180deg, var(--paper), transparent);
  opacity: var(--_gloss-op);
}

@keyframes sweep {
  from { transform: translateX(calc(var(--_band) * -1)); }
  to { transform: translateX(100%); }
}

@keyframes breathe {
  0%, 100% { opacity: calc(var(--_band-op) * 0.55); }
  50% { opacity: var(--_band-op); }
}

@media (max-width: 380px) {
  .title { letter-spacing: 0.16em; }
}

/* No travel: the band parks centred and breathes slowly so the bar still reads as busy. */
@media (prefers-reduced-motion: reduce) {
  .sweep {
    animation: none;
    transform: translateX(calc((100% - var(--_band)) / 2));
  }
  .band { animation: breathe calc(var(--t) * 2.5) var(--ease-in-out) infinite; }
}
</style>
</head>
<body>
  <div class="win">
    <div class="bar">
      <span class="title" aria-hidden="true">ダウンロード</span>
      <span class="ctl" aria-hidden="true"><i></i><i></i><i></i></span>
    </div>
    <div class="body">
      <p class="label" id="lbl">Downloading assets</p>
      <div class="track" role="progressbar" aria-labelledby="lbl" aria-busy="true">
        <div class="sweep"><div class="band"></div></div>
      </div>
      <p class="meta">Calculating time remaining…</p>
    </div>
  </div>
</body>
</html>

The variant family

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