kitbash Sign in Connect agent
Components

Starred reviews

Two columns of five-star reviews with small round portraits, then one long quote hung on a green bar.

Part of the style

Sky Pill App Window

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #030303;
  --surface: #0e0e0e;
  --ink: #c5c4c9;
  --ink-soft: #7e7e80;
  --ink-faint: #2f2e2d;
  --line: #070707;
  --wash: #050505;
  --on-accent: #0e0e0e;
  --coral-tint: #060606;
  --veil: rgba(3, 3, 3, 0.82);
  --accent: #3f498f;
  --accent-deep: #5965a9;
  --accent-ink: #30375d;
  --accent-tint: #999eb0;
  --steel: #43496a;
  --coral: #666d9f;
  --go: #3f498f;
  --go-tint: #4c505f;
  --star: #454b7a;
}
</style>

<section class="reviews">
  <div class="reviews__inner">
    <p class="reviews__eyebrow">Growers' notes</p>
    <h2 class="reviews__title">Kept on the bench, not in a drawer</h2>
    <div class="reviews__grid">
      <figure class="reviews__card">
        <div class="reviews__top">
          <span class="reviews__stars" aria-label="Five stars">★★★★★</span>
          <span class="reviews__app" aria-hidden="true"><i></i><i></i><i></i><i></i></span>
        </div>
        <figcaption class="reviews__who">
          <img class="reviews__face" src="assets/portrait-artist.jpg" alt="Portrait of Tomas Reyne" width="24" height="24">
          <span><strong>Tomas Reyne</strong>, head grower · Westmere</span>
        </figcaption>
        <blockquote class="reviews__quote">We open it before the kettle. Half the morning list used to live in my head; now the whole team sees it, and we lose far fewer trays to a missed watering.</blockquote>
      </figure>
      <figure class="reviews__card">
        <div class="reviews__top">
          <span class="reviews__stars" aria-label="Five stars">★★★★★</span>
          <span class="reviews__app" aria-hidden="true"><i></i><i></i><i></i><i></i></span>
        </div>
        <figcaption class="reviews__who">
          <img class="reviews__face" src="assets/portrait-buron.jpg" alt="Portrait of Odile Fenwick" width="24" height="24">
          <span><strong>Odile Fenwick</strong>, owner · Pellow Farm</span>
        </figcaption>
        <blockquote class="reviews__quote">The order sheet fills itself from what we actually sowed. I asked it which bench gave the best basil last spring and it simply answered.</blockquote>
      </figure>
    </div>
    <blockquote class="reviews__long">
      <p>The leaf-curl log alone paid for the year. Photos, dates and the heating change all sit on one page, so the adviser saw the cause in five minutes instead of a week of emails.</p>
      <footer class="reviews__cite">
        <img class="reviews__face" src="assets/portrait-grey.jpg" alt="Portrait of Hester Gale" width="24" height="24">
        Hester Gale · Propagation lead
      </footer>
    </blockquote>
  </div>
</section>

<style>
  .reviews {
    padding: var(--section-space) var(--edge);
  }
  .reviews__inner {
    max-width: var(--column);
    margin: 0 auto;
  }
  .reviews__eyebrow {
    margin: 0 0 var(--space-s);
    color: var(--go);
    font-size: var(--text-l);
    font-weight: 500;
  }
  .reviews__title {
    margin: 0 0 var(--space-xl);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: var(--track-tight);
  }
  .reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl) clamp(32px, 6vw, 80px);
  }
  .reviews__card {
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--reveal) var(--ease), transform var(--reveal) var(--ease);
    transition-delay: calc(var(--order, 0) * 80ms);
  }
  .reviews.is-seen .reviews__card {
    opacity: 1;
    transform: none;
  }
  .reviews__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-m);
  }
  .reviews__stars {
    color: var(--star);
    font-size: 20px;
    letter-spacing: 0.12em;
    line-height: 1;
  }
  .reviews__app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    width: 24px;
    height: 24px;
    padding: 5px;
    border-radius: var(--radius-s);
    background: var(--ink);
  }
  .reviews__app i {
    border-radius: 2px;
    background: var(--accent);
  }
  .reviews__app i:nth-child(2) { background: var(--go); }
  .reviews__app i:nth-child(3) { background: var(--star); }
  .reviews__app i:nth-child(4) { background: var(--coral); }
  .reviews__who,
  .reviews__cite {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    color: var(--ink-soft);
    font-size: var(--text-m);
    line-height: 1.4;
  }
  .reviews__who strong {
    color: var(--ink);
    font-weight: 500;
  }
  .reviews__face {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-pill);
    object-fit: cover;
    object-position: 50% 18%;
    filter: grayscale(1);
  }
  .reviews__quote {
    margin: var(--space-m) 0 0;
    color: var(--ink-soft);
    font-size: var(--text-m);
    line-height: var(--leading-body);
  }
  .reviews__long {
    margin: var(--space-xl) 0 0;
    padding: var(--space-xs) 0 var(--space-xs) var(--space-l);
    border-left: 4px solid var(--go);
  }
  .reviews__long p {
    max-width: 58em;
    margin: 0 0 var(--space-s);
    color: var(--ink);
    font-size: 18px;
    line-height: 1.55;
  }
  .reviews__cite {
    font-size: var(--text-s);
    color: var(--ink-faint);
  }

  @media (max-width: 700px) {
    .reviews__grid {
      grid-template-columns: 1fr;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .reviews__card {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
</style>

<script>
  (() => {
    const seen = new IntersectionObserver((entries) => {
      for (const entry of entries) {
        if (!entry.isIntersecting) continue;
        entry.target.classList.add('is-seen');
        seen.unobserve(entry.target);
      }
    }, { threshold: 0.15 });
    for (const root of document.querySelectorAll('.reviews')) {
      root.querySelectorAll('.reviews__card').forEach((card, order) => card.style.setProperty('--order', order));
      seen.observe(root);
    }
  })();
</script>

Similar components

Quote cards

Quote cards

Word-by-word testimonial

Word-by-word testimonial

Client groups

Client groups

Timed reviews

Timed reviews

White press slab

White press slab

Portrait quote slider

Portrait quote slider

Filling quote

Filling quote

Pink-ruled review cards

Pink-ruled review cards