kitbash Sign in Connect agent
Components

Footer

A small black mark stepped like a quarry face with the name set to its width, one line of fine print and two small grotesk links, all sitting on the bottom edge of a tall white space.

Part of the style

Violet Difference

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

Preview

Code
<style>
/* Goes after the pack's base.css */
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;800&family=Newsreader:opsz,wght@6..72,400;6..72,600&display=swap");
:root {
  --paper: #bfc8c3;
  --ink: #000000;
  --idle: #929995;
  --tray: #b3bbb7;
  --plate: #666b68;
  --violet: #4c78a1;
  --font-mark: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --font-caps: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --font-text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}
</style>

<footer class="footer">
  <a class="footer__home" href="#" aria-label="Keldstone, home">
    <svg class="footer__mark" viewBox="0 0 112 92" aria-hidden="true" focusable="false">
      <path d="M0 72V0h25v18h29v18h29v18h29v18z"/>
      <text x="-1.2" y="91.7" textLength="114.2" lengthAdjust="spacingAndGlyphs">KELDSTONE</text>
    </svg>
  </a>
  <p class="footer__note">Trade and studio orders only. Slabs leave the quarry on Thursdays.</p>
  <nav class="footer__links" aria-label="Footer">
    <a class="footer__link" href="#">About us</a>
    <a class="footer__link" href="#">Contact</a>
  </nav>
</footer>

<style>
  .footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: var(--space-l);
    padding: var(--space-xl) var(--gutter) var(--gutter);
    background: var(--paper);
    font-size: var(--text-fine);
    line-height: 1;
  }

  /* The mark is one black block stepped like a quarry face, with the name set to its width underneath. */
  .footer__home {
    display: block;
    width: 7rem;
    color: var(--ink);
  }
  .footer__mark {
    display: block;
    width: 100%;
    fill: currentColor;
    font: 800 19px var(--font-mark);
  }
  .footer__home:hover,
  .footer__home:focus-visible {
    color: var(--violet);
    outline: none;
  }
  .footer__note {
    margin: 0;
    padding-bottom: 0.1rem;
    text-wrap: balance;
  }
  .footer__links {
    display: flex;
    gap: var(--space-m);
    margin-bottom: calc((1em - var(--tap)) / 2);
  }
  .footer__link {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    color: var(--ink);
    text-decoration: underline transparent;
    text-underline-offset: 0.25em;
    transition: text-decoration-color var(--time) var(--ease);
  }
  .footer__link:hover,
  .footer__link:focus-visible {
    text-decoration-color: currentColor;
  }
  .footer__link:focus-visible {
    outline: var(--rule) solid var(--ink);
    outline-offset: 2px;
  }

  @media (max-width: 40rem) {
    .footer {
      grid-template-columns: 1fr auto;
    }
    .footer__note {
      grid-column: 1 / -1;
      grid-row: 1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .footer__link {
      transition-duration: 0s;
    }
  }
</style>

Similar components

Black panel footer

Black panel footer

Frosted letter panel

Frosted letter panel

White footer

White footer

Footer

Footer

Footer

Footer

Centred small print

Centred small print

About and wordmark band

About and wordmark band

Sign-off footer

Sign-off footer