Back to the library

Chronicle entry, single beat

Variant: Single beat

The same new timeline entry, but the rail, node, title and timestamp all land together in one 160ms beat. Use it where history updates often, such as live collaboration feeds, and the entry only needs to register without being narrated. The beat sits at the low end of the feedback range, so it confirms that something was recorded without drawing attention. The 128ms exit is still shorter.

historytimelineentranceactivity-logquick

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>Chronicle entry, single beat</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 */

  --_row: 42px;
  --_muted: color-mix(in oklab, var(--slate) 58%, var(--paper));
}

* { box-sizing: border-box; }
html, body { margin: 0; }

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

.card {
  width: min(340px, 90vw);
  padding: clamp(14px, 4vw, 20px);
  background: var(--paper);
  border: 1px solid var(--oat);
  border-radius: calc(14px * var(--round));
}

.head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--_muted);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--oat);
}

.list { position: relative; }

.rail {
  position: absolute;
  left: 6px;
  top: 10px;
  width: 2px;
  height: calc(var(--_row) * 2);
  background: var(--oat);
}

.row {
  position: relative;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  column-gap: 12px;
  height: var(--_row);
}

.mark { position: relative; }

.dot {
  position: absolute;
  z-index: 1;
  left: 2px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--oat);
  box-shadow: 0 0 0 3px var(--paper);
}

.text { min-width: 0; }

.title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta {
  margin-top: 2px;
  font-size: 12px;
  line-height: 16px;
  color: var(--_muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seg {
  position: absolute;
  left: 6px;
  top: calc(10px - var(--_row));
  width: 2px;
  height: var(--_row);
  background: var(--clay);
}

.entry .dot { background: var(--clay); }

.entry { animation: entry-exit var(--t) var(--ease-out) infinite; }
.entry .seg { animation: seg-in var(--t) var(--ease-out) infinite both; }
.entry .dot { animation: node-in var(--t) var(--ease-out) infinite both; }
.entry .title,
.entry .meta { animation: text-in var(--t) var(--ease-out) infinite both; }

/* 12% → 17% of 3.2s is a 160ms beat; the 86–90% group fade is 128ms, shorter than the entrance. */
@keyframes entry-exit {
  0%, 86% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

@keyframes seg-in {
  0%, 12% { clip-path: inset(0 0 100% 0); }
  17%, 90% { clip-path: inset(0 0 0 0); }
  90.1%, 100% { clip-path: inset(0 0 100% 0); }
}

@keyframes node-in {
  0%, 12% { opacity: 0; transform: scale(0.9); }
  17%, 90% { opacity: 1; transform: scale(1); }
  90.1%, 100% { opacity: 0; transform: scale(0.9); }
}

@keyframes text-in {
  0%, 12% { opacity: 0; transform: translateY(-4px); }
  17%, 90% { opacity: 1; transform: translateY(0); }
  90.1%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes entry-rm {
  0%, 12% { opacity: 0.25; }
  17%, 86% { opacity: 1; }
  92%, 100% { opacity: 0.25; }
}

@media (max-width: 380px) {
  :root { --_row: 38px; }
  .title { font-size: 13px; line-height: 18px; }
  .head { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .entry { animation: entry-rm calc(var(--t) * 2) var(--ease-out) infinite; }
  .entry .seg,
  .entry .dot,
  .entry .title,
  .entry .meta { animation: none; }
}
</style>
</head>
<body>
  <div class="card">
    <div class="head"><span>Version history</span><span>Today</span></div>
    <div class="list">
      <div class="rail"></div>
      <div class="row">
        <div class="mark"><span class="dot"></span></div>
        <div class="text"><div class="title">Draft created</div><div class="meta">09:12 · Ana</div></div>
      </div>
      <div class="row">
        <div class="mark"><span class="dot"></span></div>
        <div class="text"><div class="title">Section 3 rewritten</div><div class="meta">10:47 · Joel</div></div>
      </div>
      <div class="row">
        <div class="mark"><span class="dot"></span></div>
        <div class="text"><div class="title">Shared with Finance</div><div class="meta">11:30 · Ana</div></div>
      </div>
      <div class="row entry">
        <div class="mark"><span class="seg"></span><span class="dot"></span></div>
        <div class="text"><div class="title">Budget figures revised</div><div class="meta">Just now · You</div></div>
      </div>
    </div>
  </div>
</body>
</html>

The variant family

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