kitbash Connect agent
Components

Wave footer

A canvas slogan that swells and pinches like a travelling sound wave, credit columns with small narrow labels, a row of vertical contact strips and a copyright line, padded to clear the floating nav.

Part of the style

Backroom Tunnel

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --metal: #04578b;
  --backstage: #fff4df;
  --spot: #014977;
  --neon: #7a684d;
  --echo: #7b614f;
}
</style>

<footer class="footer">
  <div class="footer__wave">
    <canvas class="footer__canvas" role="img" aria-label="Pull prints after hours, set in rough condensed capitals that swell and pinch like a sound wave"></canvas>
  </div>

  <div class="footer__inner">
    <div class="footer__credits">
      <div class="footer__group">
        <h3 class="footer__title">Run by</h3>
        <ul class="footer__names">
          <li><a class="footer__name" href="#">North Shore<br>Small Press Guild</a></li>
        </ul>
      </div>
      <div class="footer__group">
        <h3 class="footer__title">With money from</h3>
        <ul class="footer__names">
          <li><a class="footer__name" href="#">Harbour Arts<br>Council</a></li>
        </ul>
      </div>
      <div class="footer__group">
        <h3 class="footer__title">Thanks to our shops and friends</h3>
        <ul class="footer__names footer__names--grid">
          <li><a class="footer__name" href="#">Two Rivers Riso</a></li>
          <li><a class="footer__name" href="#">Saltwater Studio</a></li>
          <li><a class="footer__name" href="#">Low Tide Bindery</a></li>
          <li><a class="footer__name" href="#">Paper Lung</a></li>
          <li><a class="footer__name" href="#">Night Bus Distro</a></li>
          <li><a class="footer__name" href="#">Odile Marsh</a></li>
        </ul>
      </div>
    </div>

    <ul class="footer__strips" aria-label="Contact">
      <li><a class="footer__strip" href="#"><svg class="footer__icon" viewBox="0 0 20 20" aria-hidden="true"><rect x="3" y="3" width="14" height="14" rx="4"></rect><circle cx="10" cy="10" r="3.2"></circle></svg><span class="footer__strip-word">Instagram</span></a></li>
      <li><a class="footer__strip" href="#"><svg class="footer__icon" viewBox="0 0 20 20" aria-hidden="true"><path d="M3.5 4.5h13v8.5H9l-4 3v-3H3.5z"></path></svg><span class="footer__strip-word">Mastodon</span></a></li>
      <li><a class="footer__strip" href="#"><svg class="footer__icon" viewBox="0 0 20 20" aria-hidden="true"><rect x="2.5" y="4.5" width="15" height="11" rx="1.5"></rect><path d="M3 5.5l7 5.5 7-5.5"></path></svg><span class="footer__strip-word">Newsletter</span></a></li>
      <li><a class="footer__strip" href="#"><svg class="footer__icon" viewBox="0 0 20 20" aria-hidden="true"><circle cx="10" cy="10" r="3.4"></circle><path d="M13.4 10v1.4a2.3 2.3 0 0 0 4.6 0V10a8 8 0 1 0-3.2 6.4"></path></svg><span class="footer__strip-word">hello@inkrun.org</span></a></li>
      <li><a class="footer__strip" href="#"><svg class="footer__icon" viewBox="0 0 20 20" aria-hidden="true"><path d="M5 2.5h3l1.4 4-2 1.3a9 9 0 0 0 4.8 4.8l1.3-2 4 1.4v3a2 2 0 0 1-2 2A14.5 14.5 0 0 1 3 4.5a2 2 0 0 1 2-2z"></path></svg><span class="footer__strip-word">514-555-0199</span></a></li>
    </ul>
  </div>

  <div class="footer__base">
    <p class="footer__small">&copy; 2026, all rights reserved</p>
    <p class="footer__small">North Shore Small Press Guild</p>
  </div>
</footer>

<style>
  .footer {
    padding: var(--edge) var(--edge) 92px;
    background: var(--metal);
    color: var(--backstage);
  }
  .footer__wave { aspect-ratio: 2.18 / 1; }
  .footer__canvas {
    width: 100%;
    height: 100%;
    color: var(--backstage);
  }

  .footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-8) var(--space-5);
    margin-top: max(var(--space-8), 5.7vw);
  }
  .footer__credits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5) max(var(--space-8), 5.7vw);
  }
  .footer__title {
    margin: 0 0 var(--space-5);
    font: 400 var(--t-c2)/1.1 var(--font-label);
    font-stretch: calc(var(--label-width) * 1%);
    letter-spacing: -0.014em;
    text-transform: uppercase;
  }
  .footer__names {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .footer__names--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, auto));
    gap: var(--space-2) var(--space-5);
  }
  .footer__name {
    display: flex;
    align-items: center;
    min-height: var(--tap);
    border-radius: var(--radius-small);
    color: inherit;
    font: 600 14px/1.1 var(--font-body);
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity var(--time) var(--ease);
  }

  .footer__strips {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .footer__strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    width: 46px;
    min-height: 168px;
    padding: 0 0 var(--space-2);
    border-left: var(--outline) solid var(--backstage);
    color: inherit;
    text-decoration: none;
    transition: opacity var(--time) var(--ease);
  }
  .footer__strips li:last-child .footer__strip { border-right: var(--outline) solid var(--backstage); }
  .footer__icon {
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
    stroke-linecap: round;
  }
  .footer__strip-word {
    font: 800 var(--t-c2)/1 var(--font-poster);
    letter-spacing: -0.01em;
    text-transform: uppercase;
    white-space: nowrap;
    writing-mode: vertical-rl;
  }

  @media (hover: hover) {
    .footer__name:hover,
    .footer__strip:hover { opacity: 0.6; }
  }
  .footer__name:focus-visible,
  .footer__strip:focus-visible { outline: 3px solid var(--neon); outline-offset: 2px; }

  .footer__base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-3) var(--space-8);
    margin-top: var(--space-8);
  }
  .footer__small {
    margin: 0;
    font: 400 var(--t-c2)/1.1 var(--font-label);
    font-stretch: calc(var(--label-width) * 1%);
    text-transform: uppercase;
  }

  @media (max-width: 649.98px) {
    .footer__strips { width: 100%; justify-content: space-between; }
    .footer__strip { width: auto; flex: 1; }
    .footer__strips li { flex: 1; }
  }
</style>

<script>
(() => {
  const still = matchMedia('(prefers-reduced-motion: reduce)');
  const LOOP = 6;
  const COLUMNS = 260;
  const SLOGAN = 'PULL PRINTS AFTER HOURS';

  function seeded(seed) {
    let state = seed >>> 0;
    return () => {
      state = (state + 0x6d2b79f5) >>> 0;
      let t = Math.imul(state ^ (state >>> 15), 1 | state);
      t ^= t + Math.imul(t ^ (t >>> 7), 61 | t);
      return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
    };
  }

  function noiseField(width, height, cell, random) {
    const columns = Math.ceil(width / cell) + 2;
    const values = new Float32Array(columns * (Math.ceil(height / cell) + 2)).map(() => random() * 2 - 1);
    return (x, y) => {
      const gx = x / cell;
      const gy = y / cell;
      const ix = gx | 0;
      const iy = gy | 0;
      const fx = gx - ix;
      const fy = gy - iy;
      const at = (cx, cy) => values[cy * columns + cx];
      const top = at(ix, iy) * (1 - fx) + at(ix + 1, iy) * fx;
      const bottom = at(ix, iy + 1) * (1 - fx) + at(ix + 1, iy + 1) * fx;
      return top * (1 - fy) + bottom * fy;
    };
  }

  function roughen(context, width, height) {
    const random = seeded(71);
    const fineX = noiseField(width, height, 2.5, random);
    const fineY = noiseField(width, height, 2.5, random);
    const broadX = noiseField(width, height, 26, random);
    const broadY = noiseField(width, height, 26, random);
    const source = context.getImageData(0, 0, width, height);
    const result = context.createImageData(width, height);
    for (let y = 0; y < height; y++) {
      for (let x = 0; x < width; x++) {
        const sx = Math.min(width - 1, Math.max(0, Math.round(x + fineX(x, y) * 1.4 + broadX(x, y) * 4.5)));
        const sy = Math.min(height - 1, Math.max(0, Math.round(y + fineY(x, y) * 1.4 + broadY(x, y) * 4.5)));
        result.data[(y * width + x) * 4 + 3] = Math.min(255, Math.max(0, (source.data[(sy * width + sx) * 4 + 3] - 96) * 4));
      }
    }
    context.putImageData(result, 0, 0);
  }

  function lettering(ink) {
    const canvas = document.createElement('canvas');
    canvas.width = 2000;
    canvas.height = 900;
    const context = canvas.getContext('2d');
    context.font = '900 200px "Big Shoulders Display"';
    const letters = [...SLOGAN];
    const sizes = letters.map((letter) => context.measureText(letter));
    const gap = context.measureText('M').width * 0.08;
    const advance = sizes.reduce((sum, size) => sum + size.width, 0) + gap * (letters.length - 1);
    const ascent = context.measureText('H').actualBoundingBoxAscent;
    const pad = 10;
    context.fillStyle = ink;
    context.setTransform((canvas.width - pad * 2) / advance, 0, 0, (canvas.height - pad * 2) / ascent, pad, canvas.height - pad);
    let x = 0;
    letters.forEach((letter, index) => {
      context.fillText(letter, x, 0);
      x += sizes[index].width + gap;
    });
    context.setTransform(1, 0, 0, 1, 0, 0);
    roughen(context, canvas.width, canvas.height);
    return canvas;
  }

  function paint(context, texture, width, height, seconds) {
    context.clearRect(0, 0, width, height);
    if (!texture) return;
    const phase = (seconds % LOOP) / LOOP;
    for (let i = 0; i < COLUMNS; i++) {
      const x0 = (i / COLUMNS) * width;
      const x1 = ((i + 1) / COLUMNS) * width;
      const across = (i + 0.5) / COLUMNS;
      const swell = 0.5 + 0.5 * Math.cos(Math.PI * 2 * (across * 1.15 + phase));
      const columnHeight = height * (0.36 + 0.64 * swell);
      context.drawImage(texture, (i / COLUMNS) * texture.width, 0, texture.width / COLUMNS, texture.height,
        x0 - 0.3, (height - columnHeight) / 2, x1 - x0 + 0.6, columnHeight);
    }
  }

  function run(root) {
    const canvas = root.querySelector('.footer__canvas');
    const context = canvas.getContext('2d');
    let texture = null;
    let frame = 0;
    let visible = false;

    const draw = (now) => paint(context, texture, canvas.clientWidth, canvas.clientHeight, now / 1000);
    const fit = () => {
      const density = Math.min(2, devicePixelRatio || 1);
      canvas.width = Math.round(canvas.clientWidth * density);
      canvas.height = Math.round(canvas.clientHeight * density);
      context.setTransform(density, 0, 0, density, 0, 0);
      context.imageSmoothingQuality = 'high';
      draw(performance.now());
    };
    const tick = (now) => {
      draw(now);
      frame = requestAnimationFrame(tick);
    };
    const play = () => {
      cancelAnimationFrame(frame);
      if (visible && texture && !still.matches) frame = requestAnimationFrame(tick);
    };

    document.fonts.load('900 200px "Big Shoulders Display"').catch(() => null).then(() => {
      texture = lettering(getComputedStyle(canvas).color);
      fit();
      play();
    });
    new ResizeObserver(fit).observe(canvas);
    new IntersectionObserver(([entry]) => {
      visible = entry.isIntersecting;
      play();
    }).observe(canvas);
    still.addEventListener('change', play);
  }

  document.querySelectorAll('.footer').forEach(run);
})();
</script>

Similar components

Sign-off footer

Sign-off footer

About and wordmark band

About and wordmark band

Colophon

Colophon

Hairline footer

Hairline footer

Clock sentence footer

Clock sentence footer

Footer

Footer

Wordmark footer

Wordmark footer

Skeleton wordmark footer

Skeleton wordmark footer