kitbash Sign in Connect agent
Components

Quote band

Rounded paper quote cards with drawn initial avatars rolling in an endless band under a serif heading.

Part of the style

Dappled Shade Paper

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --night: #f9f9f8;
  --night-soft: #f2f2f1;
  --paper: #24211e;
  --paper-deep: #34312e;
  --screen: #3a3735;
  --bezel: #3e3b38;
  --ink: #f9f9f8;
  --ink-soft: rgba(249, 249, 248, 0.5);
  --ink-faint: rgba(249, 249, 248, 0.16);
  --white: #1e1b18;
  --white-soft: rgba(30, 27, 24, 0.7);
  --white-line: rgba(30, 27, 24, 0.14);
  --glass: rgba(37, 34, 31, 0.82);
  --glass-dark: rgba(229, 229, 228, 0.72);
  --shade: rgba(211, 211, 209, 0.16);
  --night-veil: rgba(249, 249, 248, 0.45);
  --shade-deep: rgba(234, 234, 233, 0.38);
  --amber: #77654e;
  --amber-deep: #705f4a;
  --sticker: #2c2111;
  --leaf: #6c6357;
  --moss: #ffefd9;
  --moss-light: #998872;
}
</style>

<section class="voices" aria-labelledby="voices-title">
  <svg class="voices__shade" viewBox="0 0 1000 500" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
    <defs><filter id="voices-soft" x="-20%" y="-20%" width="140%" height="140%"><feGaussianBlur stdDeviation="18"/></filter></defs>
    <g class="voices__shade-bars" filter="url(#voices-soft)">
      <g transform="rotate(-28 500 250)">
        <rect x="-400" y="20" width="1800" height="56"/>
        <rect x="-400" y="210" width="1800" height="40"/>
        <rect x="-400" y="380" width="1800" height="70"/>
      </g>
      <ellipse cx="80" cy="60" rx="100" ry="30" transform="rotate(-20 80 60)"/>
      <ellipse cx="180" cy="20" rx="60" ry="20" transform="rotate(30 180 20)"/>
    </g>
  </svg>

  <h2 class="voices__title" id="voices-title">What readers are <em>saying</em></h2>

  <div class="voices__band">
    <ul class="voices__track">
      <li class="voices__card">
        <p class="voices__quote">“The only screen I reach for after dinner. It feels like picking up a paperback.”</p>
        <p class="voices__who"><span class="voices__avatar" aria-hidden="true">IH</span><span><span class="voices__name">Ines Halloran</span><span class="voices__role">Translator</span></span></p>
      </li>
      <li class="voices__card">
        <p class="voices__quote">“I wrote half a thesis on the porch. No glare, no pings, just the page.”</p>
        <p class="voices__who"><span class="voices__avatar" aria-hidden="true">TO</span><span><span class="voices__name">Tomas Okafor</span><span class="voices__role">Doctoral student</span></span></p>
      </li>
      <li class="voices__card">
        <p class="voices__quote">“My kids fight over it for reading, which is a sentence I never expected to type.”</p>
        <p class="voices__who"><span class="voices__avatar" aria-hidden="true">MV</span><span><span class="voices__name">Maren Voss</span><span class="voices__role">Parent of three</span></span></p>
      </li>
      <li class="voices__card">
        <p class="voices__quote">“Sketching on it is the closest thing to graphite I have found on glass.”</p>
        <p class="voices__who"><span class="voices__avatar" aria-hidden="true">RB</span><span><span class="voices__name">Rafa Benítez Coll</span><span class="voices__role">Illustrator</span></span></p>
      </li>
      <li class="voices__card">
        <p class="voices__quote">“It made my evenings slower in the best way. I sleep better and read more.”</p>
        <p class="voices__who"><span class="voices__avatar" aria-hidden="true">AK</span><span><span class="voices__name">Ada Kwiatek</span><span class="voices__role">Nurse, night shifts</span></span></p>
      </li>
    </ul>
  </div>
</section>

<style>
  .voices {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
    background: var(--paper);
  }
  .voices__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    fill: var(--shade);
    pointer-events: none;
  }
  .voices__shade-bars { animation: voices-sway var(--drift) ease-in-out infinite; transform-origin: 20% 0; }
  .voices.is-off .voices__shade-bars, .voices.is-off .voices__track { animation-play-state: paused; }
  @keyframes voices-sway {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(14px, 10px) rotate(-1deg); }
  }

  .voices__title {
    position: relative;
    margin: 0 var(--edge) var(--space-xl);
    font-family: var(--font-serif);
    font-size: var(--display);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.045em;
    text-align: center;
  }
  .voices__title em { font-style: italic; }

  .voices__band { position: relative; overflow: hidden; }
  .voices__track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: voices-roll 50s linear infinite;
  }
  .voices__band:hover .voices__track { animation-play-state: paused; }
  @keyframes voices-roll { to { transform: translateX(-50%); } }

  .voices__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-l);
    flex: none;
    width: clamp(270px, 30vw, 360px);
    min-height: 240px;
    margin-right: var(--gap);
    padding: var(--space-m);
    border-radius: var(--radius-l);
    background: var(--glass);
    box-shadow: inset 0 0 0 var(--line) var(--ink-faint);
    backdrop-filter: blur(var(--blur));
    transition: background-color var(--quick) var(--ease-out), transform var(--slow) var(--ease);
  }
  .voices__card:hover { background: var(--paper); transform: translateY(-4px); }
  .voices__quote { margin: 0; font-size: var(--text-l); line-height: 1.22; }
  .voices__who { display: flex; align-items: center; gap: var(--space-s); margin: 0; }
  .voices__avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: var(--pill);
    background: var(--moss);
    color: var(--paper);
    font-family: var(--font-serif);
    font-size: var(--text-m);
    letter-spacing: 0;
  }
  .voices__card:nth-child(3n + 2) .voices__avatar { background: var(--sticker); color: var(--ink); }
  .voices__card:nth-child(3n) .voices__avatar { background: var(--paper-deep); color: var(--ink); }
  .voices__name { display: block; font-size: var(--text-s); font-weight: 500; }
  .voices__role { display: block; color: var(--ink-soft); font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; }

  @media (prefers-reduced-motion: reduce) {
    .voices__shade-bars { animation: none; }
    .voices__track { animation: none; }
    .voices__band { overflow-x: auto; }
  }
</style>

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

Similar components

Timed reviews

Timed reviews

Quote cards

Quote cards

Portrait quote slider

Portrait quote slider

Client groups

Client groups

White press slab

White press slab

Word-by-word testimonial

Word-by-word testimonial

Pink voice card

Pink voice card

Slab quote

Slab quote