Motion toggle footer

Footer with small uppercase column labels, plain link lists and an On/Off pill switch beside the copyright line.

Open preview
snippet.html73 lines
<footer class="wmf">
  <div class="wmf__grid">
    <nav class="wmf__col" aria-label="About" data-block="List">
      <h2 class="wmf__label">About</h2>
      <ul>
        <li><a href="#">Our approach</a></li>
        <li><a href="#">Our history</a></li>
        <li><a href="#">Careers</a></li>
        <li><a href="#">Legal</a></li>
      </ul>
    </nav>
    <nav class="wmf__col" aria-label="Funds" data-block="List">
      <h2 class="wmf__label">Funds</h2>
      <ul>
        <li><a href="#">Hollis Ridge Seed</a></li>
        <li><a href="#">Hollis Ridge Growth</a></li>
      </ul>
    </nav>
    <nav class="wmf__col" aria-label="Login" data-block="List">
      <h2 class="wmf__label">Login</h2>
      <ul>
        <li><a href="#">Investor portal</a></li>
        <li><a href="#">Founder portal</a></li>
      </ul>
    </nav>
    <div class="wmf__col wmf__col--end">
      <h2 class="wmf__label" id="wmf-motion-label">Motion</h2>
      <div class="wmf__toggle" role="group" aria-labelledby="wmf-motion-label" data-block="CTA">
        <button class="wmf__pill" type="button" aria-pressed="true">On</button>
        <button class="wmf__pill" type="button" aria-pressed="false">Off</button>
      </div>
      <p class="wmf__copy" data-block="Text">&copy; 2026 Hollis Ridge Partners</p>
    </div>
  </div>
</footer>

<style>
  .wmf {
    --wmf-ink: #111111;
    box-sizing: border-box;
    background: #ececec;
    color: var(--wmf-ink);
    border-top: 1px solid #d4d4d4;
    padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 3.4vw, 3rem) clamp(3.5rem, 7vw, 6rem);
    font-family: ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  }
  .wmf *, .wmf *::before, .wmf *::after { box-sizing: border-box; }
  .wmf__grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
  .wmf__label { margin: 0 0 1.25rem; font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; }
  .wmf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
  .wmf a { color: inherit; text-decoration: none; font-size: 0.9375rem; }
  .wmf a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .wmf a:focus-visible, .wmf button:focus-visible { outline: 2px solid var(--wmf-ink); outline-offset: 3px; border-radius: 3px; }
  .wmf__toggle { display: flex; gap: 0.5rem; }
  .wmf__pill { min-width: 3.4rem; height: 2.1rem; padding: 0 0.9rem; border: 1px solid var(--wmf-ink); border-radius: 999px; background: transparent; color: var(--wmf-ink); font: 0.75rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
  .wmf__pill[aria-pressed="true"] { background: var(--wmf-ink); color: #ffffff; }
  .wmf__pill[aria-pressed="false"] { border-color: #9a9a9a; color: #6a6a6a; }
  .wmf__copy { margin: 1.75rem 0 0; font-size: 0.9375rem; }
  @media (max-width: 900px) { .wmf__grid { grid-template-columns: repeat(2, 1fr); } .wmf__col--end { grid-column: 1 / -1; } }
  @media (max-width: 480px) { .wmf__grid { grid-template-columns: 1fr; } }
</style>

<script>
  (function () {
    var root = document.querySelector(".wmf");
    var pills = root.querySelectorAll(".wmf__pill");
    pills.forEach(function (pill) {
      pill.addEventListener("click", function () {
        pills.forEach(function (p) { p.setAttribute("aria-pressed", String(p === pill)); });
      });
    });
  })();
</script>

Kind
Wireframe
Category
Footer
Added
6 Nov 2026
Canvas
Full width
File
snippet.html
Size
73 lines · 3.4 KB
Inspired by
sequoiacap.com
  • light
  • black-and-white
  • minimal
  • toggle

One file: HTML, a style block and, when needed, a small script. Paste it anywhere. Nothing to install.