kitbash Sign in Connect agent
Components

Visit strip

A yellow strip with a big orange uppercase call and an orange button whose arrow slides on hover.

Part of the style

Pixel Map Yellow

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #7b8922;
  --ink: #13120c;
  --white: #6e7b0a;
  --field: #778422;
  --ink-soft: rgba(19, 18, 12, 0.6);
  --flame: #d5e5ff;
  --sun: #848e45;
  --sun-pale: #7d8550;
  --sea: #d5e5ff;
  --sky: #848e45;
}
</style>

<section class="visit">
  <div class="visit__strip">
    <h2 class="visit__call">Walk the first season</h2>
    <a class="visit__button" href="#">
      <span>Open the archive</span>
      <svg class="visit__arrow" viewBox="0 0 20 12" aria-hidden="true"><path d="M0 6h17M12 1l5 5-5 5"/></svg>
    </a>
  </div>
</section>

<style>
  .visit {
    padding: var(--space-l) var(--edge);
    background: var(--paper);
  }
  .visit__strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    padding: var(--space-m);
    background: var(--sun);
  }
  .visit__call {
    margin: 0;
    color: var(--flame);
    font-size: var(--display-m);
    font-weight: 400;
    line-height: var(--leading-tight);
    text-transform: uppercase;
  }
  .visit__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-l);
    min-width: 188px;
    min-height: var(--button-h);
    padding: 0 var(--space-m);
    border-radius: var(--radius);
    background: var(--flame);
    color: var(--white);
    font-size: var(--text-xs);
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color var(--quick) var(--ease);
  }
  .visit__arrow {
    width: 20px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    transition: transform var(--quick) var(--ease);
  }
  .visit__button:hover,
  .visit__button:focus-visible { background: var(--ink); }
  .visit__button:hover .visit__arrow,
  .visit__button:focus-visible .visit__arrow { transform: translateX(4px); }
  .visit__button:focus-visible {
    outline: var(--rule) solid var(--ink);
    outline-offset: 3px;
  }

  @media (max-width: 48rem) {
    .visit__strip {
      flex-direction: column;
      align-items: stretch;
      gap: var(--space-l);
      padding: var(--space-m) var(--space-m) var(--space-l);
    }
  }
</style>

Similar components

Appeal

Appeal

Drifting wall call

Drifting wall call

Two-way choice

Two-way choice

Signup card

Signup card

Green ways to start

Green ways to start

Diagnosis ask

Diagnosis ask

Green pill sign-off

Green pill sign-off

Black closer

Black closer