Back to the library
Conjure reveal, bold
Variant: Bold
The heaviest version of the wipe: a 4px beam, a 14px spark with a wide halo and a trail that covers about a third of the card as it crosses. Use it when the reveal is the main event on screen, such as the single result of a long generation or a hero card on an empty canvas. The 400ms sweep is unchanged, so the trail spreads extra light across the card without adding time. It still goes quiet within 240ms of arriving.
revealloaderstate-changeclip-pathhero
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>Conjure reveal — 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: 4s; /* 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 */
--_clear: transparent;
--_glow: color-mix(in oklch, var(--clay) 30%, var(--_clear));
--_muted: color-mix(in oklch, var(--slate) 58%, var(--paper));
/* Weight — the only values that change across the family. */
--_stroke: 4px;
--_trail: 32%;
--_trail-o: 0.5;
--_spark: 14px;
--_halo: 7px;
}
* { 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;
}
.stage { position: relative; width: min(320px, 84vw); }
.card {
position: relative;
display: grid;
overflow: hidden;
background: var(--paper);
border: 1px solid var(--oat);
border-radius: calc(14px * var(--round));
}
.layer {
grid-area: 1 / 1;
display: flex;
align-items: center;
gap: clamp(10px, 3.5vw, 14px);
padding: clamp(12px, 4vw, 18px);
background: var(--paper);
}
.thumb {
flex: none;
width: clamp(44px, 14vw, 56px);
aspect-ratio: 1;
border-radius: calc(10px * var(--round));
}
.lines { flex: 1; min-width: 0; display: grid; gap: 8px; }
.before .thumb { background: var(--oat); }
.bar { height: 10px; border-radius: 999px; background: var(--oat); }
.bar.title { width: 62%; }
.bar.meta { width: 84%; height: 8px; opacity: 0.7; }
.after { animation: reveal var(--t) var(--ease-out) infinite; }
.after .lines { gap: 3px; }
.after .thumb {
display: grid;
place-items: center;
background: linear-gradient(135deg, var(--clay), var(--rust));
}
.after svg { width: 46%; height: 46%; fill: var(--paper); }
.title-text { font-size: clamp(14px, 3.8vw, 16px); font-weight: 600; line-height: 1.25; }
.meta-text { font-size: clamp(12px, 3.2vw, 13px); line-height: 1.3; color: var(--_muted); }
/* The trail lives inside the card so it never shows past the left edge;
the line and spark live outside so the spark can rest half over the border. */
.trail-track,
.sweep {
position: absolute;
inset: 0;
pointer-events: none;
animation: sweep-move var(--t) linear infinite;
}
.beam {
position: absolute;
inset: 0;
opacity: 0;
animation: beam var(--t) var(--ease-out) infinite;
}
.trail {
position: absolute;
top: 0;
bottom: 0;
left: calc(var(--_trail) * -1);
width: var(--_trail);
background: linear-gradient(to right, var(--_clear), var(--clay));
opacity: var(--_trail-o);
}
.line {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: var(--_stroke);
transform: translateX(-50%);
border-radius: 999px;
background: var(--clay);
box-shadow: 0 0 calc(var(--_halo) * 2) var(--_glow);
}
.spark {
position: absolute;
top: 50%;
left: 0;
width: var(--_spark);
height: var(--_spark);
transform: translate(-50%, -50%) rotate(45deg);
border-radius: calc(2px * var(--round));
background: var(--clay);
box-shadow: 0 0 0 var(--_halo) var(--_glow);
animation: spark var(--t) ease infinite;
}
/* 4s loop: wait with a pulsing spark (0-40%), sweep 400ms (42-52%),
hold the result, then a 240ms exit (88-94%) — exit is faster than entry. */
@keyframes sweep-move {
0%, 42% { transform: translateX(0); animation-timing-function: var(--ease-in-out); }
52%, 58% { transform: translateX(100%); }
60%, 100% { transform: translateX(0); }
}
@keyframes beam {
0%, 40% { opacity: 0; }
42%, 52% { opacity: 1; }
58%, 100% { opacity: 0; }
}
@keyframes spark {
0% { opacity: 0.35; }
14% { opacity: 0.9; }
28% { opacity: 0.35; }
40% { opacity: 1; }
52% { opacity: 1; animation-timing-function: var(--ease-out); }
58%, 92% { opacity: 0; }
100% { opacity: 0.35; }
}
@keyframes reveal {
0%, 42% { clip-path: inset(0 100% 0 0); opacity: 1; animation-timing-function: var(--ease-in-out); }
52%, 88% { clip-path: inset(0 0 0 0); opacity: 1; animation-timing-function: var(--ease-out); }
94% { clip-path: inset(0 0 0 0); opacity: 0; }
96%, 100% { clip-path: inset(0 100% 0 0); opacity: 0; }
}
@keyframes rm-reveal {
0%, 30% { opacity: 0; }
45%, 85% { opacity: 1; }
100% { opacity: 0; }
}
@keyframes rm-spark {
0%, 100% { opacity: 0.35; }
50% { opacity: 0.75; }
}
@media (max-width: 380px) {
.layer { padding: 12px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
.sweep, .trail-track { animation: none; }
.beam { animation: none; opacity: 0; }
.after { animation: rm-reveal calc(var(--t) * 2) var(--ease-in-out) infinite; }
.spark { animation: rm-spark calc(var(--t) * 2) var(--ease-in-out) infinite; }
}
</style>
</head>
<body>
<div class="stage">
<div class="card">
<div class="layer before" aria-hidden="true">
<div class="thumb"></div>
<div class="lines">
<div class="bar title"></div>
<div class="bar meta"></div>
</div>
</div>
<div class="layer after">
<div class="thumb">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2C12.8 8 16 11.2 22 12C16 12.8 12.8 16 12 22C11.2 16 8 12.8 2 12C8 11.2 11.2 8 12 2Z" /></svg>
</div>
<div class="lines">
<p class="title-text">Render ready</p>
<p class="meta-text">4 variations · just now</p>
</div>
</div>
<div class="trail-track" aria-hidden="true"><div class="beam"><span class="trail"></span></div></div>
</div>
<div class="sweep" aria-hidden="true">
<div class="beam"><span class="line"></span></div>
<span class="spark"></span>
</div>
</div>
</body>
</html>
The variant family
Same idea, one axis moved. Compare them side by side before you commit.