kitbash Sign in Connect agent
Components

Scan-row sign-off

Dark closing panel with a row of tiny red crosses, an emblem drawn in wavering scan rows, a contact line and an email pill.

Part of the style

Notched Bezel Cards

7 parts that belong together, with their tokens, type and rules.

Preview

Code
<footer class="footer">
  <div class="footer__panel">
    <div class="footer__crosses" aria-hidden="true">
      <span>+</span><span>+</span><span>+</span><span>+</span><span>+</span><span>+</span><span>+</span>
    </div>

    <div class="footer__body">
      <div class="footer__emblem">
        <canvas class="footer__canvas" role="img" aria-label="A star inside a ring, drawn in wavering horizontal lines of light"></canvas>
      </div>

      <div class="footer__contact">
        <p class="footer__label">Contact &amp;</p>
        <h2 class="footer__title">Let’s make something that lasts.</h2>
        <p class="footer__copy">Always glad to hear about a new brief, a talk or a class. Whether it is a single film or a whole house of brands, write and I will answer within the week.</p>
        <a class="footer__mail" href="#">hello@ottolinereyes.studio <span class="footer__arrow" aria-hidden="true">→</span></a>
      </div>
    </div>

    <div class="footer__base">
      <ul class="footer__links">
        <li><a href="#">Instagram</a></li>
        <li><a href="#">Vimeo</a></li>
        <li><a href="#">LinkedIn</a></li>
      </ul>
      <p class="footer__fine">© 2027 Ottoline Reyes <span>Lisbon · Porto</span></p>
    </div>
  </div>
</footer>

<style>
  .footer {
    padding: var(--frame);
    background: var(--bezel);
  }
  .footer__panel {
    display: grid;
    gap: var(--space-l);
    padding: var(--space-l) var(--edge);
    border-radius: var(--radius-panel);
    background:
      radial-gradient(60% 70% at 25% 55%, color-mix(in srgb, var(--glow) 35%, transparent) 0%, transparent 70%),
      var(--night);
  }
  .footer__crosses {
    display: flex;
    justify-content: space-between;
    color: var(--signal);
    font: 400 14px/1 var(--font-grotesk);
  }
  .footer__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-l) calc(var(--gap) * 2);
  }
  .footer__emblem {
    width: min(100%, 440px);
    aspect-ratio: 1;
    justify-self: center;
  }
  .footer__canvas {
    width: 100%;
    height: 100%;
    color: var(--on-dark);
  }
  .footer__contact { display: grid; gap: var(--space-m); justify-items: start; }
  .footer__label {
    margin: 0;
    color: var(--on-dark-soft);
    font: 400 var(--text-micro)/1 var(--font-serif);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .footer__title {
    margin: 0;
    color: var(--on-dark);
    font: 500 var(--text-head)/1.12 var(--font-grotesk);
    letter-spacing: var(--track-tight);
    text-wrap: balance;
  }
  .footer__copy {
    max-width: 44ch;
    margin: 0;
    color: var(--on-dark-soft);
    font: 400 var(--text-body)/1.6 var(--font-serif);
    letter-spacing: 0.03em;
  }
  .footer__mail {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    min-height: 52px;
    max-width: 100%;
    margin-top: var(--space-xs);
    padding: 0 var(--space-l);
    border-radius: var(--radius-pill);
    background: var(--silver);
    color: var(--ink);
    font: 500 var(--text-caps)/1.2 var(--font-grotesk);
    letter-spacing: var(--track-caps);
    text-decoration: none;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    transition: background-color var(--quick) var(--ease-soft), color var(--quick) var(--ease-soft);
  }
  .footer__arrow { transition: translate var(--quick) var(--ease); }
  .footer__mail:hover,
  .footer__mail:focus-visible { background: var(--steel); color: var(--on-dark); outline: none; }
  .footer__mail:hover .footer__arrow { translate: 4px 0; }

  .footer__base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-s) var(--gap);
    padding-top: var(--space-s);
    border-top: var(--hairline) solid var(--line-dark);
  }
  .footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-m);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .footer__links a {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    color: var(--on-dark);
    font: 500 var(--text-micro)/1 var(--font-grotesk);
    letter-spacing: var(--track-caps);
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--quick) var(--ease-soft);
  }
  .footer__links a:hover,
  .footer__links a:focus-visible { color: var(--steel); }
  .footer__fine {
    display: flex;
    gap: var(--space-s);
    margin: 0;
    color: var(--on-dark-soft);
    font: 400 var(--text-micro)/1 var(--font-serif);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  @media (max-width: 52rem) {
    .footer__body { grid-template-columns: 1fr; }
    .footer__emblem { width: min(100%, 300px); }
    .footer__crosses span:nth-child(n + 5) { display: none; }
  }
</style>

<script>
(() => {
  const still = matchMedia('(prefers-reduced-motion: reduce)');

  // The emblem: a ring with an eight-point star, sampled once into runs per scan row.
  function drawMask(context, size) {
    const c = size / 2;
    context.clearRect(0, 0, size, size);
    context.fillStyle = '#fff';
    context.beginPath();
    context.arc(c, c, size * 0.46, 0, Math.PI * 2);
    context.arc(c, c, size * 0.40, 0, Math.PI * 2, true);
    context.fill();
    context.beginPath();
    for (let i = 0; i < 16; i += 1) {
      const angle = (i / 16) * Math.PI * 2 - Math.PI / 2;
      const radius = i % 2 === 0 ? (i % 4 === 0 ? size * 0.36 : size * 0.24) : size * 0.075;
      context.lineTo(c + Math.cos(angle) * radius, c + Math.sin(angle) * radius);
    }
    context.closePath();
    context.fill();
    context.globalCompositeOperation = 'destination-out';
    context.beginPath();
    context.arc(c, c, size * 0.035, 0, Math.PI * 2);
    context.fill();
    context.globalCompositeOperation = 'source-over';
  }

  function sample(size, step) {
    const off = document.createElement('canvas');
    off.width = off.height = Math.max(1, Math.round(size));
    const context = off.getContext('2d');
    drawMask(context, off.width);
    const data = context.getImageData(0, 0, off.width, off.height).data;
    const rows = [];
    for (let y = step / 2; y < off.height; y += step) {
      const runs = [];
      let start = -1;
      const row = Math.floor(y) * off.width;
      for (let x = 0; x <= off.width; x += 1) {
        const on = x < off.width && data[(row + x) * 4 + 3] > 128;
        if (on && start < 0) start = x;
        if (!on && start >= 0) { runs.push([start, x]); start = -1; }
      }
      if (runs.length) rows.push([y, runs]);
    }
    return rows;
  }

  function run(canvas) {
    const context = canvas.getContext('2d');
    let frame = 0;
    let rows = [];
    let size = 0;
    const paint = (seconds) => {
      context.clearRect(0, 0, size, size);
      const colour = getComputedStyle(canvas).color;
      context.fillStyle = colour;
      const band = ((seconds * 0.12) % 1.4) - 0.2;
      for (const [y, runs] of rows) {
        const t = y / size;
        const glow = Math.exp(-((t - band) ** 2) / 0.006);
        context.globalAlpha = 0.35 + glow * 0.65;
        const wave = Math.sin(y * 0.05 + seconds * 1.4) * 2.5 + Math.sin(y * 0.013 - seconds * 0.6) * 1.5;
        for (const [x0, x1] of runs) context.fillRect(x0 + wave, y - 1, x1 - x0, 2.2);
      }
      context.globalAlpha = 1;
    };
    const fit = () => {
      const density = Math.min(2, devicePixelRatio || 1);
      size = canvas.clientWidth;
      canvas.width = size * density;
      canvas.height = size * density;
      context.setTransform(density, 0, 0, density, 0, 0);
      rows = sample(size, Math.max(4, size / 70));
      paint(still.matches ? 2 : performance.now() / 1000);
    };
    const tick = (now) => {
      paint(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('.footer__canvas').forEach(run);
})();
</script>

Similar components

Contact sign-off

Contact sign-off

Sketch footer

Sketch footer

Timecode footer

Timecode footer

Contact and boxed wordmark

Contact and boxed wordmark

White closing sheet

White closing sheet

Giant sticker footer

Giant sticker footer

Community and footer

Community and footer

Closing call and footer

Closing call and footer