Light trail statement
A canvas of thin coloured threads flowing out of a dim grid of change icons and bundling into one bright beam, beside a grey statement.
Part of the style
Matted Dark Console
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/matted-dark-console/streams/figma.html?palette=0d29279090d178ae
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/matted-dark-console/streams/figma.html?palette=0d29279090d178ae and pass that whole HTML document to the html_to_figma tool, so the part "Light trail statement" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--night: #1b6656;
--night-raised: #1c6354;
--night-panel: #2c6c5d;
--night-deep: #0c473b;
--line: #437f70;
--line-strong: #568d7f;
--ink: #fffefe;
--ink-soft: #fff1f2;
--ink-dim: #deb5b6;
--white: #574142;
--on-white: #82c8b5;
--mat: #689b8d;
--mat-light: #fffefe;
--scrim: rgba(3, 57, 46, 0.4);
--signal: #f3d4d5;
--signal-wash: rgba(230, 199, 200, 0.12);
--coral: #b5e7d8;
--flare: #58a390;
--coral-wash: rgba(143, 192, 178, 0.1);
--amber: #f3d4d5;
--cobalt: #8fc0b2;
}
</style>
<section class="streams">
<div class="streams__stage">
<canvas class="streams__canvas" role="img" aria-label="Many thin coloured threads leave a grid of change icons and bundle into one bright beam"></canvas>
</div>
<div class="streams__copy">
<p class="streams__eyebrow">00 The problem</p>
<h2 class="streams__title">More change. Same four hands.</h2>
<p class="streams__text">Pipelines now open a hundred plans before lunch. Ferrow pulls them into one reviewed stream your team can actually read, rank and roll out.</p>
</div>
</section>
<style>
.streams {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
align-items: end;
gap: var(--gap);
padding: var(--section-space) var(--edge);
overflow: hidden;
}
.streams__stage {
grid-column: 1 / -1;
grid-row: 1;
height: clamp(260px, 34vw, 440px);
margin: 0 calc(var(--edge) * -1);
}
.streams__canvas {
width: 100%;
height: 100%;
color: var(--ink-dim);
--c1: var(--signal);
--c2: var(--coral);
--c3: var(--amber);
--c4: var(--line);
}
.streams__copy {
grid-column: 2;
grid-row: 1;
align-self: end;
position: relative;
padding-bottom: var(--space-l);
}
.streams__eyebrow { margin: 0 0 var(--space-m); color: var(--signal); font: 400 12px/1.5 var(--font-mono); text-transform: uppercase; }
.streams__title { margin: 0 0 var(--space-m); color: var(--ink); font: 500 var(--display-s)/var(--leading-tight) var(--font-display); letter-spacing: -0.02em; }
.streams__text { margin: 0; max-width: 32em; color: var(--ink-soft); font-size: var(--text-l); line-height: 1.4; }
@media (max-width: 48rem) {
.streams { grid-template-columns: 1fr; }
.streams__copy { grid-column: 1; grid-row: 2; padding-bottom: 0; }
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)');
function setup(canvas) {
const css = getComputedStyle(canvas);
const colours = ['--c1', '--c2', '--c3', '--c1', '--c2'].map((v) => css.getPropertyValue(v).trim());
const grid = css.getPropertyValue('--c4').trim();
const dim = css.color;
const threads = Array.from({ length: 26 }, (_, i) => ({
row: (i * 7919) % 13 / 12,
col: ((i * 104729) % 5) / 5,
colour: colours[i % colours.length],
speed: 0.08 + ((i * 31) % 17) / 160,
phase: ((i * 53) % 100) / 100,
spread: (((i * 13) % 9) - 4) / 4,
}));
function point(t, th, w, h) {
// Left half: an S-curve from the icon grid to the knot; right half: a near-straight beam.
const sx = w * (0.06 + th.col * 0.24), sy = h * (0.12 + th.row * 0.76);
const kx = w * 0.5, ky = h * 0.32 + th.spread * 3;
const ex = w, ey = h * 0.3 + th.spread * 5;
if (t < 0.5) {
const u = t / 0.5, e = u * u * (3 - 2 * u);
return [sx + (kx - sx) * u, sy + (ky - sy) * e];
}
const u = (t - 0.5) / 0.5;
return [kx + (ex - kx) * u, ky + (ey - ky) * u];
}
function paint(ctx, w, h, s) {
ctx.clearRect(0, 0, w, h);
// Faint cell grid and change icons on the left.
ctx.strokeStyle = grid;
ctx.lineWidth = 1;
for (let x = 0; x < w * 0.36; x += 36) { ctx.beginPath(); ctx.moveTo(x + 0.5, 0); ctx.lineTo(x + 0.5, h); ctx.stroke(); }
for (let y = 0; y < h; y += 36) { ctx.beginPath(); ctx.moveTo(0, y + 0.5); ctx.lineTo(w * 0.36, y + 0.5); ctx.stroke(); }
threads.forEach((th) => {
const [x, y] = point(0, th, w, h);
ctx.strokeStyle = dim;
ctx.globalAlpha = 0.5;
ctx.strokeRect(x - 10.5, y - 10.5, 21, 21);
ctx.beginPath(); ctx.arc(x - 3, y - 4, 1.6, 0, 7); ctx.moveTo(x - 3, y - 2); ctx.lineTo(x - 3, y + 5); ctx.moveTo(x + 3, y + 5); ctx.lineTo(x + 3, y - 1); ctx.stroke();
ctx.globalAlpha = 1;
});
// Threads, then a bright packet running along each.
ctx.globalCompositeOperation = 'lighter';
threads.forEach((th) => {
ctx.strokeStyle = th.colour;
ctx.globalAlpha = 0.16;
ctx.lineWidth = 1;
ctx.beginPath();
for (let i = 0; i <= 60; i++) { const [x, y] = point(i / 60, th, w, h); i ? ctx.lineTo(x, y) : ctx.moveTo(x, y); }
ctx.stroke();
const head = (th.phase + s * th.speed) % 1;
ctx.lineWidth = 1.6;
for (let k = 0; k < 14; k++) {
const a = Math.max(0, head - k * 0.012), b = Math.max(0, head - (k + 1) * 0.012);
const [x1, y1] = point(a, th, w, h), [x2, y2] = point(b, th, w, h);
ctx.globalAlpha = 0.9 * (1 - k / 14);
ctx.beginPath(); ctx.moveTo(x1, y1); ctx.lineTo(x2, y2); ctx.stroke();
}
});
// The knot where everything meets.
ctx.globalAlpha = 0.8;
ctx.strokeStyle = colours[0];
ctx.lineWidth = 1;
ctx.beginPath(); ctx.moveTo(w * 0.5 + 0.5, h * 0.08); ctx.lineTo(w * 0.5 + 0.5, h * 0.52); ctx.stroke();
ctx.globalAlpha = 1;
ctx.globalCompositeOperation = 'source-over';
}
const ctx = canvas.getContext('2d');
let frame = 0;
const fit = () => {
const d = Math.min(2, devicePixelRatio || 1);
canvas.width = canvas.clientWidth * d;
canvas.height = canvas.clientHeight * d;
ctx.setTransform(d, 0, 0, d, 0, 0);
paint(ctx, canvas.clientWidth, canvas.clientHeight, 3);
};
const tick = (now) => { paint(ctx, canvas.clientWidth, canvas.clientHeight, now / 1000); frame = requestAnimationFrame(tick); };
new ResizeObserver(fit).observe(canvas);
new IntersectionObserver(([entry]) => {
cancelAnimationFrame(frame);
if (entry.isIntersecting && !still.matches) frame = requestAnimationFrame(tick);
}).observe(canvas);
}
document.querySelectorAll('.streams__canvas').forEach(setup);
})();
</script>