Back to the library
Orphan claim, hairline
Variant: Hairline
The same claim sequence at its lightest: a 1px border, 4px of avatar travel, a title that is only slightly dimmed before the claim, and almost no tint. Use it in dense lists and dashboards, where many rows change owner and each change should be noticeable without pulling focus. Timing and easing match the Standard version exactly. Only the size of the visual change is smaller.
state-changeassignmentclaimhairlinelist
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>Orphan claim — Hairline</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: 5s; /* 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 */
/* Weight — the only tokens that differ between siblings. */
--_stroke: 1px;
--_travel: 4px;
--_dim: 0.8;
--_tint: 0.04;
--_halo: 0 0 0 0 transparent;
--_line-idle: color-mix(in oklch, var(--slate) 28%, transparent);
--_ink-soft: color-mix(in oklch, var(--slate) 58%, transparent);
}
* { 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;
}
.card {
position: relative;
isolation: isolate;
width: min(340px, 88vw);
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: clamp(12px, 3.5vw, 18px);
padding: clamp(14px, 4.2vw, 20px) clamp(16px, 4.6vw, 22px);
border-radius: calc(14px * var(--round));
background: var(--paper);
}
.card::before,
.card::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
animation-duration: var(--t);
animation-iteration-count: infinite;
}
.card::before {
border: var(--_stroke) dashed var(--_line-idle);
animation-name: idle-line;
}
/* Sweeps in from the right: ownership spreads from the avatar's side. */
.card::after {
border: var(--_stroke) solid var(--clay);
clip-path: inset(0 0 0 100%);
animation-name: claim-line;
}
.tint {
position: absolute;
inset: 0;
z-index: -1;
border-radius: inherit;
background: var(--clay);
opacity: 0;
}
.tint, .title, .idle, .claimed, .slot-empty, .avatar {
animation-duration: var(--t);
animation-iteration-count: infinite;
}
.tint { animation-name: tint; }
.body { min-width: 0; }
.title {
margin: 0 0 4px;
font-size: clamp(14px, 3.9vw, 16px);
font-weight: 600;
line-height: 1.3;
animation-name: title;
}
.status {
margin: 0;
display: grid;
font-size: clamp(12px, 3.3vw, 13px);
line-height: 1.35;
}
.status span {
grid-area: 1 / 1;
display: flex;
align-items: center;
gap: 6px;
white-space: nowrap;
}
.idle {
color: var(--_ink-soft);
animation-name: idle-text;
}
.claimed {
color: var(--slate);
opacity: 0;
animation-name: claimed-text;
}
.claimed::before {
content: "";
width: 6px;
height: 6px;
flex: none;
border-radius: 50%;
background: var(--olive);
}
.slot {
position: relative;
width: clamp(32px, 9.5vw, 38px);
aspect-ratio: 1;
}
.slot-empty,
.avatar {
position: absolute;
inset: 0;
border-radius: 50%;
}
.slot-empty {
border: var(--_stroke) dashed var(--_line-idle);
animation-name: slot-empty;
}
.avatar {
display: grid;
place-items: center;
background: var(--clay-d);
color: var(--paper);
font-size: 12px;
font-weight: 600;
letter-spacing: 0.02em;
box-shadow: var(--_halo);
opacity: 0;
animation-name: avatar;
}
/* 1% of the loop = 50ms. Enters take ~300ms and are staggered 75ms apart;
the reset takes 200ms, so exit stays faster than enter. */
@keyframes avatar {
0%, 36% { opacity: 0; transform: translateX(var(--_travel)) scale(0.94); animation-timing-function: var(--ease-out); }
42%, 86% { opacity: 1; transform: none; animation-timing-function: var(--ease-out); }
90%, 100% { opacity: 0; transform: scale(0.97); }
}
@keyframes slot-empty {
0%, 36% { opacity: 1; animation-timing-function: var(--ease-out); }
40%, 86% { opacity: 0; animation-timing-function: var(--ease-out); }
90%, 100% { opacity: 1; }
}
@keyframes idle-line {
0%, 37.5% { opacity: 1; animation-timing-function: var(--ease-out); }
43.5%, 86% { opacity: 0; animation-timing-function: var(--ease-out); }
90%, 100% { opacity: 1; }
}
@keyframes claim-line {
0%, 37.5% { clip-path: inset(0 0 0 100%); opacity: 1; animation-timing-function: var(--ease-in-out); }
43.5%, 86% { clip-path: inset(0 0 0 0); opacity: 1; animation-timing-function: var(--ease-out); }
90% { clip-path: inset(0 0 0 0); opacity: 0; }
91%, 100% { clip-path: inset(0 0 0 100%); opacity: 0; }
}
@keyframes tint {
0%, 37.5% { opacity: 0; animation-timing-function: var(--ease-out); }
43.5%, 86% { opacity: var(--_tint); animation-timing-function: var(--ease-out); }
90%, 100% { opacity: 0; }
}
@keyframes title {
0%, 39% { opacity: var(--_dim); animation-timing-function: var(--ease-out); }
44%, 86% { opacity: 1; animation-timing-function: var(--ease-out); }
90%, 100% { opacity: var(--_dim); }
}
@keyframes idle-text {
0%, 39% { opacity: 1; animation-timing-function: var(--ease-out); }
43%, 88% { opacity: 0; animation-timing-function: var(--ease-out); }
92%, 100% { opacity: 1; }
}
@keyframes claimed-text {
0%, 39% { opacity: 0; transform: translateY(calc(var(--_travel) * 0.4)); animation-timing-function: var(--ease-out); }
44%, 86% { opacity: 1; transform: none; animation-timing-function: var(--ease-out); }
89%, 100% { opacity: 0; transform: none; }
}
@keyframes claim-fade {
0%, 37.5% { opacity: 0; animation-timing-function: var(--ease-out); }
43.5%, 86% { opacity: 1; animation-timing-function: var(--ease-out); }
90%, 100% { opacity: 0; }
}
@keyframes avatar-fade {
0%, 36% { opacity: 0; animation-timing-function: var(--ease-out); }
42%, 86% { opacity: 1; animation-timing-function: var(--ease-out); }
90%, 100% { opacity: 0; }
}
@keyframes claimed-fade {
0%, 39% { opacity: 0; animation-timing-function: var(--ease-out); }
44%, 86% { opacity: 1; animation-timing-function: var(--ease-out); }
89%, 100% { opacity: 0; }
}
@media (max-width: 380px) {
.card { padding: 14px 16px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
.card::before, .card::after, .tint, .title, .idle, .claimed, .slot-empty, .avatar {
animation-duration: calc(var(--t) * 2);
}
.card::after { clip-path: inset(0); animation-name: claim-fade; }
.avatar { animation-name: avatar-fade; }
.claimed { animation-name: claimed-fade; }
}
</style>
</head>
<body>
<article class="card" aria-label="Task: Rotate legacy signing keys">
<span class="tint" aria-hidden="true"></span>
<div class="body">
<p class="title">Rotate legacy signing keys</p>
<p class="status">
<span class="idle">No owner · open 214 days</span>
<span class="claimed">Picked up by Ari</span>
</p>
</div>
<div class="slot" aria-hidden="true">
<span class="slot-empty"></span>
<span class="avatar">AR</span>
</div>
</article>
</body>
</html>
The variant family
Same idea, one axis moved. Compare them side by side before you commit.