kitbash Sign in Connect agent
Components

Emblem shelf ticker

The signature: two rows of drawn single-colour emblems rolling in opposite directions, grey at rest and white under the pointer.

Part of the style

Inked Emblem Ticker

6 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;
  --ink-dim: #5b5b5b;
  --ink-soft: rgba(0, 0, 0, 0.62);
  --line: rgba(0, 0, 0, 0.34);
  --signal: #4c28a6;
  --signal-wash: rgba(76, 40, 166, 0.12);
  --shade: #6971c0;
}
</style>

<section class="emblems" aria-label="Selected marks">
  <svg class="emblems__defs" aria-hidden="true" focusable="false">
    <symbol id="emblems-lighthouse" viewBox="0 0 64 64"><rect x="6" y="6" width="52" height="52" rx="12" fill="none" stroke="currentColor" stroke-width="2.5"/><path d="M27 23h10l3 27H24z" fill="currentColor"/><rect x="28" y="15" width="8" height="6" fill="currentColor"/><path d="M32 9v3M21 18l-6-3M43 18l6-3M14 50h36" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/></symbol>
    <symbol id="emblems-keyhole" viewBox="0 0 64 64"><path d="M32 5a13 13 0 0 1 7 24l5 30H20l5-30a13 13 0 0 1 7-24z" fill="none" stroke="currentColor" stroke-width="2.5"/><circle cx="32" cy="18" r="4.5" fill="currentColor"/><path d="M32 33v18M26 45l6 6 6-6" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></symbol>
    <symbol id="emblems-hive" viewBox="0 0 64 64"><path d="M32 5l23 13v28L32 59 9 46V18z" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linejoin="round"/><circle cx="32" cy="24" r="6.5" fill="none" stroke="currentColor" stroke-width="2.5"/><circle cx="24" cy="38" r="6.5" fill="none" stroke="currentColor" stroke-width="2.5"/><circle cx="40" cy="38" r="6.5" fill="none" stroke="currentColor" stroke-width="2.5"/></symbol>
    <symbol id="emblems-moth" viewBox="0 0 64 64"><path d="M32 20c-7-10-24-9-24 3 0 10 12 12 21 8-7 6-13 16-5 20 6 3 8-8 8-14 0 6 2 17 8 14 8-4 2-14-5-20 9 4 21 2 21-8 0-12-17-13-24-3z" fill="currentColor"/><path d="M30 19c-2-6-6-9-10-10M34 19c2-6 6-9 10-10" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
    <symbol id="emblems-sun" viewBox="0 0 64 64"><g fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><path d="M32 4v11"/><path d="M32 4v11" transform="rotate(30 32 32)"/><path d="M32 4v11" transform="rotate(60 32 32)"/><path d="M32 4v11" transform="rotate(90 32 32)"/><path d="M32 4v11" transform="rotate(120 32 32)"/><path d="M32 4v11" transform="rotate(150 32 32)"/><path d="M32 4v11" transform="rotate(180 32 32)"/><path d="M32 4v11" transform="rotate(210 32 32)"/><path d="M32 4v11" transform="rotate(240 32 32)"/><path d="M32 4v11" transform="rotate(270 32 32)"/><path d="M32 4v11" transform="rotate(300 32 32)"/><path d="M32 4v11" transform="rotate(330 32 32)"/><circle cx="32" cy="32" r="10"/></g><circle cx="32" cy="32" r="4" fill="currentColor"/></symbol>
    <symbol id="emblems-cone" viewBox="0 0 64 64"><rect x="16" y="4" width="32" height="56" rx="16" fill="none" stroke="currentColor" stroke-width="2.5"/><path d="M32 13v39M24 22l8 6 8-6M22 32l10 8 10-8M24 43l8 6 8-6" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></symbol>
    <symbol id="emblems-anchor" viewBox="0 0 64 64"><circle cx="32" cy="11" r="5" fill="none" stroke="currentColor" stroke-width="2.5"/><path d="M32 16v40M21 26h22M12 40c2 10 10 16 20 16s18-6 20-16M8 45l4-6 6 4M56 45l-4-6-6 4" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></symbol>
    <symbol id="emblems-crescent" viewBox="0 0 64 64"><circle cx="32" cy="32" r="26" fill="none" stroke="currentColor" stroke-width="2.5"/><path d="M36 13a19 19 0 1 0 0 38 15 15 0 1 1 0-38z" fill="currentColor"/><path d="M44 21l2 5 5 .6-4 3.4 1.2 5-4.2-2.8-4.2 2.8 1.2-5-4-3.4 5-.6z" fill="currentColor"/></symbol>
    <symbol id="emblems-cup" viewBox="0 0 64 64"><path d="M12 26h34v6c0 12-8 20-17 20S12 44 12 32z" fill="currentColor"/><path d="M46 30h4a6 6 0 0 1 0 12h-6M8 57h44M24 8c-3 4 3 6 0 10M33 6c-3 4 3 6 0 10" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/></symbol>
    <symbol id="emblems-arrow" viewBox="0 0 64 64"><circle cx="32" cy="32" r="17" fill="none" stroke="currentColor" stroke-width="6"/><path d="M9 55L54 10M40 10h14v14" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></symbol>
    <symbol id="emblems-peak" viewBox="0 0 64 64"><circle cx="32" cy="32" r="26" fill="none" stroke="currentColor" stroke-width="2.5"/><path d="M11 45l13-17 8 10 8-14 13 21z" fill="currentColor"/><circle cx="44" cy="17" r="4" fill="currentColor"/></symbol>
    <symbol id="emblems-fish" viewBox="0 0 64 64"><path d="M5 32c11-15 31-17 43 0-12 17-32 15-43 0z" fill="currentColor"/><path d="M47 32l12-11v22z" fill="currentColor"/><circle class="emblems__eye" cx="17" cy="29" r="3"/><path d="M28 22c3 6 3 14 0 20" fill="none" class="emblems__gill" stroke-width="2.5" stroke-linecap="round"/></symbol>
  </svg>

  <div class="emblems__row">
    <div class="emblems__track">
      <a class="emblems__item" href="#" aria-label="Lighthouse mark"><svg viewBox="0 0 64 64"><use href="#emblems-lighthouse"/></svg></a>
      <a class="emblems__item" href="#" aria-label="Keyhole mark"><svg viewBox="0 0 64 64"><use href="#emblems-keyhole"/></svg></a>
      <a class="emblems__item" href="#" aria-label="Hive mark"><svg viewBox="0 0 64 64"><use href="#emblems-hive"/></svg></a>
      <a class="emblems__item" href="#" aria-label="Moth mark"><svg viewBox="0 0 64 64"><use href="#emblems-moth"/></svg></a>
      <a class="emblems__item" href="#" aria-label="Sun mark"><svg viewBox="0 0 64 64"><use href="#emblems-sun"/></svg></a>
      <a class="emblems__item" href="#" aria-label="Pine cone mark"><svg viewBox="0 0 64 64"><use href="#emblems-cone"/></svg></a>
    </div>
  </div>
  <div class="emblems__row emblems__row--back">
    <div class="emblems__track">
      <a class="emblems__item" href="#" aria-label="Anchor mark"><svg viewBox="0 0 64 64"><use href="#emblems-anchor"/></svg></a>
      <a class="emblems__item" href="#" aria-label="Crescent mark"><svg viewBox="0 0 64 64"><use href="#emblems-crescent"/></svg></a>
      <a class="emblems__item" href="#" aria-label="Teacup mark"><svg viewBox="0 0 64 64"><use href="#emblems-cup"/></svg></a>
      <a class="emblems__item" href="#" aria-label="Arrow ring mark"><svg viewBox="0 0 64 64"><use href="#emblems-arrow"/></svg></a>
      <a class="emblems__item" href="#" aria-label="Peak mark"><svg viewBox="0 0 64 64"><use href="#emblems-peak"/></svg></a>
      <a class="emblems__item" href="#" aria-label="Fish mark"><svg viewBox="0 0 64 64"><use href="#emblems-fish"/></svg></a>
    </div>
  </div>

  <div class="emblems__foot">
    <p class="emblems__caption">Twelve of some two hundred marks, drawn for bakeries, boatyards and one very small circus.</p>
    <a class="emblems__all" href="#">All marks</a>
  </div>
</section>

<style>
  .emblems {
    display: grid;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding: var(--space-xl) 0;
    background: var(--paper);
    color: var(--ink);
    overflow: hidden;
  }
  .emblems__defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
  }
  .emblems__eye {
    fill: var(--paper);
  }
  .emblems__gill {
    stroke: var(--paper);
  }
  .emblems__row {
    overflow: hidden;
  }
  .emblems__track {
    display: flex;
    width: max-content;
    animation: emblems-roll var(--roll) linear infinite;
  }
  .emblems__row--back .emblems__track {
    animation-direction: reverse;
    margin-left: calc(var(--emblem) * -0.9);
  }
  .emblems__row:hover .emblems__track,
  .emblems__row:focus-within .emblems__track,
  .emblems.is-away .emblems__track {
    animation-play-state: paused;
  }
  .emblems__item {
    flex: none;
    display: grid;
    place-items: center;
    width: var(--emblem);
    height: var(--emblem);
    margin-right: calc(var(--emblem) * 0.95);
    color: var(--ink-dim);
    transition: color var(--quick) var(--ease);
  }
  .emblems__item svg {
    width: 100%;
    height: 100%;
  }
  .emblems__item:hover,
  .emblems__item:focus-visible {
    color: var(--ink);
  }
  .emblems__item:focus-visible {
    outline: var(--rule) solid var(--signal);
    outline-offset: 8px;
    border-radius: var(--radius-tile);
  }
  .emblems__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-m) var(--gap);
    padding: 0 var(--edge);
  }
  .emblems__caption {
    max-width: 34ch;
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--text-l);
    font-weight: var(--weight-light);
    letter-spacing: var(--track-tight);
    line-height: 1.1;
  }
  .emblems__all {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    padding: 0 1.4em;
    border: var(--rule) solid var(--signal);
    border-radius: var(--radius-pill);
    color: var(--signal);
    font-size: var(--text-m);
    text-decoration: none;
    transition: background-color var(--time) var(--ease);
  }
  .emblems__all:hover,
  .emblems__all:focus-visible {
    background-color: var(--signal-wash);
    outline: none;
  }
  @keyframes emblems-roll {
    to { transform: translateX(-50%); }
  }
  @media (max-width: 600px) {
    .emblems {
      --emblem: 5.25rem;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .emblems__track { animation: none; }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.emblems')) {
    for (const track of root.querySelectorAll('.emblems__track')) {
      for (const item of [...track.children]) {
        const copy = item.cloneNode(true);
        copy.setAttribute('aria-hidden', 'true');
        copy.tabIndex = -1;
        track.append(copy);
      }
    }
    new IntersectionObserver(([entry]) => {
      root.classList.toggle('is-away', !entry.isIntersecting);
    }).observe(root);
  }
})();
</script>

Similar components

Drifting frames

Drifting frames

Pill arch

Pill arch

Orbit rings

Orbit rings

Earned-coins ticker

Earned-coins ticker

Blackletter news ticker

Blackletter news ticker

Red word band

Red word band

Ticker

Ticker

Reed ribbon

Reed ribbon