kitbash Sign in Connect agent
Components

Three-up long tail

Smaller dark cards three to a row with a show-more pill that pulses skeleton cards before the next row appears.

Part of the style

Charcoal Tile Directory

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #251a1a;
  --card: #2f2423;
  --card-hi: #382d2d;
  --well: #fbebea;
  --ink: #fbf4ee;
  --ink-soft: #968e87;
  --ink-faint: #564a4a;
  --tile: #fbf4ee;
  --tile-ink: #251a1a;
  --tile-soft: #564a4a;
  --tile-well: #eee7e1;
  --on-accent: #fbf4ee;
  --line: rgba(251, 244, 238, 0.08);
  --line-strong: rgba(251, 244, 238, 0.22);
  --glass: rgba(37, 26, 26, 0.82);
  --skeleton: #3c3131;
  --accent: #87645e;
  --accent-press: #75544e;
}
</style>

<section class="more" aria-labelledby="more-title">
  <h2 class="more__heading" id="more-title">More from the shelves</h2>
  <ul class="more__list">
    <li class="more__card">
      <a class="more__link" href="#">
        <span class="more__pic"><img src="assets/vase.jpg" alt="Matte green glazed vase" width="600" height="800" loading="lazy"></span>
        <span class="more__meta"><span class="more__fav" aria-hidden="true">K</span><span class="more__domain">kilnnotes.net</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
        <span class="more__title">Kiln Notes — Glaze Recipes From Shut Potteries</span>
        <span class="more__blurb">Handwritten recipe books, transcribed and fired again to check.</span>
      </a>
    </li>
    <li class="more__card">
      <a class="more__link" href="#">
        <span class="more__pic"><img src="assets/textile.jpg" alt="Silk fragment with gold leaf pattern" width="800" height="492" loading="lazy"></span>
        <span class="more__meta"><span class="more__fav" aria-hidden="true">R</span><span class="more__domain">repeatpattern.io</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
        <span class="more__title">Repeat — Find the Tile in Any Pattern</span>
        <span class="more__blurb">Upload a scrap of cloth, get back its repeat, its loom width and its likely century.</span>
      </a>
    </li>
    <li class="more__card">
      <a class="more__link" href="#">
        <span class="more__pic"><img src="assets/poster-revue.jpg" alt="Lithograph poster of a woman in a spotted coat" width="573" height="800" loading="lazy"></span>
        <span class="more__meta"><span class="more__fav" aria-hidden="true">S</span><span class="more__domain">stonetype.gallery</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
        <span class="more__title">Stonetype — Lettering From Old Posters</span>
        <span class="more__blurb">Hand-drawn poster letters, traced and sorted by mood and decade.</span>
      </a>
    </li>
    <li class="more__card more__extra" hidden>
      <a class="more__link" href="#">
        <span class="more__pic"><img src="assets/armchair.jpg" alt="Carved armchair with red upholstery" width="800" height="617" loading="lazy"></span>
        <span class="more__meta"><span class="more__fav" aria-hidden="true">U</span><span class="more__domain">upholster.guide</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
        <span class="more__title">Upholster — Stuffing, Springs and Damask</span>
        <span class="more__blurb">A field guide to what is under the cushion, with cut-away drawings.</span>
      </a>
    </li>
    <li class="more__card more__extra" hidden>
      <a class="more__link" href="#">
        <span class="more__pic"><img src="assets/card-table.jpg" alt="Mahogany card table" width="800" height="666" loading="lazy"></span>
        <span class="more__meta"><span class="more__fav" aria-hidden="true">V</span><span class="more__domain">veneer.fyi</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
        <span class="more__title">Veneer — Name That Wood</span>
        <span class="more__blurb">Two hundred grains, photographed raking and flat, side by side.</span>
      </a>
    </li>
    <li class="more__card more__extra" hidden>
      <a class="more__link" href="#">
        <span class="more__pic"><img src="assets/teapot.jpg" alt="Figural porcelain teapot" width="800" height="640" loading="lazy"></span>
        <span class="more__meta"><span class="more__fav" aria-hidden="true">P</span><span class="more__domain">pourtest.app</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
        <span class="more__title">Pour Test — Does the Spout Drip?</span>
        <span class="more__blurb">Slow-motion pours from every pot in the collection, graded A to F.</span>
      </a>
    </li>
  </ul>
  <div class="more__foot">
    <button class="more__button" type="button">Show more</button>
  </div>
</section>

<style>
  .more {
    width: min(100% - 2 * var(--edge), var(--page-width));
    margin: 0 auto;
    padding: var(--space-xl) 0 var(--section-space);
  }
  .more__heading {
    margin: 0 0 var(--space-l);
    font-size: var(--display-m);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: var(--track-display);
  }
  .more__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .more__card[hidden] { display: none; }
  .more__card.is-entering { animation: more-enter var(--slow) var(--ease) both; animation-delay: calc(var(--order, 0) * 80ms); }
  .more__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--space-s) var(--space-s) 20px;
    border-radius: var(--radius-pic);
    background: var(--card);
    color: var(--ink);
    text-decoration: none;
    transition: background-color var(--time) var(--ease-std);
  }
  .more__link:hover { background: var(--card-hi); }
  .more__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .more__pic {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-field);
    background: var(--tile-well);
  }
  .more__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--slow) var(--ease);
  }
  .more__link:hover .more__pic img { transform: scale(1.04); }
  .more__meta {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    margin: var(--space-m) 12px 12px;
  }
  .more__fav,
  .more__go {
    display: grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-round);
    background: var(--well);
    font-size: var(--text-xs);
    font-weight: 800;
  }
  .more__fav { color: var(--accent); }
  .more__go svg { width: 10px; height: 10px; transition: transform var(--time) var(--ease); }
  .more__link:hover .more__go svg { transform: translate(2px, -2px); }
  .more__domain {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: var(--text-xs);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .more__title {
    margin: 0 12px 6px;
    font-size: var(--text-m);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }
  .more__blurb {
    margin: 0 12px;
    color: var(--ink-soft);
    font-size: var(--text-xs);
    line-height: 1.4;
  }
  .more__skeleton {
    display: grid;
    gap: 12px;
    padding: var(--space-s) var(--space-s) 20px;
    border-radius: var(--radius-pic);
    background: var(--card);
  }
  .more__skeleton span {
    display: block;
    border-radius: var(--radius-field);
    background: var(--skeleton);
    animation: more-pulse 1.2s var(--ease-std) infinite;
  }
  .more__skeleton span:first-child { aspect-ratio: 16 / 10; }
  .more__skeleton span:nth-child(2) { height: 14px; margin: 4px 12px 0; width: 70%; }
  .more__skeleton span:nth-child(3) { height: 10px; margin: 0 12px; width: 50%; }
  .more__foot {
    display: flex;
    justify-content: center;
    margin-top: var(--space-l);
  }
  .more__button {
    min-height: 48px;
    padding: 0 26px;
    border: 0;
    border-radius: var(--radius-round);
    background: var(--card);
    color: var(--ink);
    font: 600 var(--text-s) / 1 var(--font-body);
    cursor: pointer;
    transition: background-color var(--quick) var(--ease-press), transform var(--quick) var(--ease-press);
  }
  .more__button:hover { background: var(--card-hi); }
  .more__button:active { transform: scale(0.96); }
  .more__button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .more__button:disabled { color: var(--ink-faint); cursor: default; }
  @keyframes more-pulse { 50% { opacity: 0.45; } }
  @keyframes more-enter { from { opacity: 0; transform: translateY(16px); } }

  @media (max-width: 52rem) {
    .more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 34rem) {
    .more__list { grid-template-columns: minmax(0, 1fr); }
  }
  @media (prefers-reduced-motion: reduce) {
    .more__skeleton span, .more__card.is-entering { animation: none; }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.more')) {
    const list = root.querySelector('.more__list');
    const button = root.querySelector('.more__button');
    button.addEventListener('click', () => {
      const extras = [...root.querySelectorAll('.more__extra[hidden]')];
      if (!extras.length) return;
      button.disabled = true;
      const ghosts = extras.map(() => {
        const ghost = document.createElement('li');
        ghost.className = 'more__skeleton';
        ghost.setAttribute('aria-hidden', 'true');
        ghost.innerHTML = '<span></span><span></span><span></span>';
        list.append(ghost);
        return ghost;
      });
      const wait = matchMedia('(prefers-reduced-motion: reduce)').matches ? 0 : 900;
      setTimeout(() => {
        ghosts.forEach((ghost) => ghost.remove());
        extras.forEach((card, order) => {
          card.hidden = false;
          card.style.setProperty('--order', order);
          card.classList.add('is-entering');
        });
        button.textContent = 'That is everything';
      }, wait);
    });
  }
})();
</script>

Similar components

Fanned feature cards

Fanned feature cards

Grey card rail

Grey card rail

Use case columns

Use case columns

Ruled three-column pillars

Ruled three-column pillars

Stacked step sheets

Stacked step sheets

Offer panel

Offer panel

Coming-soon card

Coming-soon card

Triage queue window

Triage queue window