kitbash Sign in Connect agent
Components

Contact tile

A vertically set ask beside a tall red tile with a blinking speech bubble.

Part of the style

Red Spiral Grid

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #1c0d06;
  --ink-soft: #39261d;
  --paper: #91816b;
  --paper-tint: #756650;
  --night: #9a857b;
  --key: #93846e;
  --key-ink: #91816b;
  --red: #261501;
  --red-deep: #7c6954;
}
</style>

<section class="contact" aria-labelledby="contact-title">
  <div class="contact__frame">
    <div class="contact__panel contact__words">
      <h2 class="contact__title" id="contact-title">Got an odd object? Tell us about it.</h2>
      <p class="contact__text">
        Send a photo, a measurement and the room it lives in. We answer every letter within a week,
        usually with a sketch. <a class="contact__link" href="#">Open for autumn projects.</a>
      </p>
    </div>
    <div class="contact__panel contact__ask">
      <a class="contact__tile" href="#">
        <svg class="contact__bubble" viewBox="0 0 40 36" aria-hidden="true">
          <path class="contact__bubble-line" d="M3 3 H37 V27 H16 L8 33 V27 H3 Z" />
          <circle class="contact__dot" cx="13" cy="15" r="2.2" />
          <circle class="contact__dot" cx="20" cy="15" r="2.2" />
          <circle class="contact__dot" cx="27" cy="15" r="2.2" />
        </svg>
        <span class="contact__label">Write to us</span>
      </a>
      <p class="contact__address">letters@tidewright.example<br>Quay Street 9, second floor</p>
    </div>
  </div>
</section>

<style>
  .contact {
    background: var(--night);
    color: var(--ink);
  }
  .contact__frame {
    display: grid;
    grid-template-columns: 61.8034fr 38.1966fr;
    gap: var(--seam);
  }
  .contact__panel {
    min-width: 0;
    background: var(--wave-texture), var(--paper-tint);
  }
  .contact__words {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    min-height: 460px;
    padding: var(--space-xl);
    writing-mode: vertical-rl;
  }
  .contact__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--display-m);
    font-weight: 700;
    line-height: var(--leading-display);
    letter-spacing: var(--track-display);
  }
  .contact__text {
    max-inline-size: 22em;
    margin: 0;
    margin-block-start: auto;
    font-size: var(--text-m);
    line-height: 1.55;
  }
  .contact__link {
    color: var(--red);
    text-decoration: underline;
    text-decoration-thickness: var(--rule-thin);
    text-underline-offset: 3px;
  }
  .contact__ask {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-l);
    padding: var(--space-xl) var(--space-l);
  }
  .contact__tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 132px;
    height: 176px;
    padding: var(--space-m) var(--space-s);
    border-radius: 0;
    background: var(--red);
    color: var(--paper);
    text-decoration: none;
    writing-mode: vertical-rl;
    transition: background var(--medium) var(--ease), border-radius var(--quick) var(--ease-out);
  }
  .contact__tile:hover,
  .contact__tile:focus-visible {
    background: var(--red-deep);
    border-bottom-right-radius: var(--radius-quarter);
  }
  .contact__tile:focus-visible {
    outline: var(--rule-thin) solid var(--red);
    outline-offset: 4px;
  }
  .contact__label {
    font: 700 var(--text-l) / 1 var(--font-body);
    white-space: nowrap;
  }
  .contact__bubble {
    width: 34px;
  }
  .contact__bubble-line {
    fill: none;
    stroke: var(--paper);
    stroke-width: 2;
    stroke-linejoin: round;
  }
  .contact__dot {
    fill: var(--paper);
    animation: contact-blink var(--blink) linear infinite;
  }
  .contact__dot:nth-of-type(2) { animation-delay: 200ms; }
  .contact__dot:nth-of-type(3) { animation-delay: 400ms; }
  @keyframes contact-blink {
    0%, 8% { opacity: 1; }
    12%, 22% { opacity: 0; }
    26%, 100% { opacity: 1; }
  }
  .contact__address {
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--text-s);
    line-height: 1.6;
  }

  @media (max-width: 640px) {
    .contact__frame {
      grid-template-columns: 1fr;
    }
    .contact__words {
      min-height: 420px;
      padding: var(--space-l) var(--space-m);
      gap: var(--space-l);
    }
    .contact__title {
      font-size: clamp(26px, 8vw, 34px);
    }
    .contact__ask {
      flex-direction: row;
      align-items: flex-end;
      padding: var(--space-l) var(--space-m);
    }
    .contact__tile {
      width: 96px;
      height: 140px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .contact__dot {
      animation: none;
    }
  }
</style>

Similar components

Green pill sign-off

Green pill sign-off

Sticker follow line

Sticker follow line

Closing line

Closing line

Quiet invitation

Quiet invitation

Studio note

Studio note

Diagnosis ask

Diagnosis ask

Two-way choice

Two-way choice

Cut-out shape feature

Cut-out shape feature