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 */
:root {
  --paper: #ffffff;
  --ink: #000000;
  --idle: #c4c4c4;
  --tray: #efefef;
  --plate: #8a8a8a;
  --violet: #b33aad;
}
</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

Footer

Footer

Footer

Footer

About and wordmark band

About and wordmark band

Sign-off footer

Sign-off footer

Footer

Footer

Sand box colophon

Sand box colophon

Skeleton wordmark footer

Skeleton wordmark footer

Closing and footer

Closing and footer