kitbash Sign in Connect agent
Components

Masthead

The name in 18 px medium over a grey role line, with a pinging status dot and a quiet three-link row.

Part of the style

Pixel Redaction Notes

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #eaebe9;
  --paper-depth: #f0f1ef;
  --well: #cfd1cc;
  --line: #cfd1cc;
  --marker: #b9bdb5;
  --ink: #000003;
  --ink-soft: #0a2233;
  --ink-faint: #7b8273;
  --dot: rgba(0, 0, 3, 0.5);
}
</style>

<header class="masthead">
  <div class="masthead__inner">
    <div class="masthead__id">
      <a class="masthead__name" href="#">Mara Quill</a>
      <p class="masthead__role">Interface Carpenter</p>
    </div>
    <nav class="masthead__nav" aria-label="Main">
      <a class="masthead__link" href="#">Notes</a>
      <a class="masthead__link" href="#">Shelf</a>
      <a class="masthead__link" href="#">Write</a>
    </nav>
    <p class="masthead__status">
      <span class="masthead__dot" aria-hidden="true"></span>
      Taking on two small projects this spring.
    </p>
  </div>
</header>

<style>
  .masthead {
    padding: var(--section-space) var(--edge) 0;
  }
  .masthead__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: var(--space-l) var(--gap);
    max-width: var(--measure);
    margin: 0 auto;
  }
  .masthead__id {
    min-width: 0;
  }
  .masthead__name {
    display: inline-block;
    color: var(--ink);
    font-size: var(--text-l);
    font-weight: 500;
    line-height: 28px;
    margin-block: -8px;
    padding-block: 8px;
    text-decoration: none;
    border-radius: var(--radius-s);
  }
  .masthead__role {
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--text-m);
    line-height: var(--leading-label);
  }
  .masthead__nav {
    display: flex;
    gap: var(--space-xs);
    margin: -10px -12px 0 0;
  }
  .masthead__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: var(--ink-soft);
    font-size: var(--text-s);
    line-height: var(--leading-small);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor var(--underline-rest), transparent);
    text-underline-offset: var(--underline-offset);
    border-radius: var(--radius-s);
    transition: text-decoration-color var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .masthead__link:hover {
    color: var(--ink);
    text-decoration-color: color-mix(in srgb, currentColor var(--underline-hover), transparent);
  }
  .masthead__link:focus-visible,
  .masthead__name:focus-visible {
    outline: var(--rule) solid var(--ink);
    outline-offset: 2px;
  }
  .masthead__status {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    margin: 0;
    padding: var(--space-xs) 12px var(--space-xs) 10px;
    background: var(--well);
    border-radius: var(--radius-l);
    color: var(--ink);
    font-size: var(--text-s);
    line-height: var(--leading-small);
  }
  .masthead__dot {
    position: relative;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background: var(--dot);
  }
  .masthead__dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--dot);
    animation: masthead-ping var(--pulse) cubic-bezier(0, 0, 0.2, 1) infinite;
  }
  @keyframes masthead-ping {
    75%, 100% { transform: scale(2.4); opacity: 0; }
  }

  @media (max-width: 30rem) {
    .masthead__inner {
      grid-template-columns: 1fr;
      gap: var(--space-m);
    }
    .masthead__nav {
      margin: 0 0 0 -12px;
    }
  }

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

Similar components

Split wordmark hero

Split wordmark hero

Sky wordmark hero

Sky wordmark hero

Sticker headline hero

Sticker headline hero

Split words

Split words

Corner frame hero

Corner frame hero

Pill-stuck hero

Pill-stuck hero

Sky hero

Sky hero

Masthead

Masthead