kitbash Sign in Connect agent
Components

Two-up entry cards

The signature: big dark cards with an inset rounded picture, favicon row, arrow button and heavy title; pictures zoom on hover.

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: #5c5c87;
  --card: #63648d;
  --card-hi: #6b6b93;
  --well: #7e7fac;
  --ink: #f5f5f5;
  --ink-soft: #fbf3dd;
  --ink-faint: #8081a3;
  --tile: #f5f5f5;
  --tile-ink: #5c5c87;
  --tile-soft: #8081a3;
  --tile-well: #eeedea;
  --on-accent: #f5f5f5;
  --line: rgba(245, 245, 245, 0.08);
  --line-strong: rgba(245, 245, 245, 0.22);
  --glass: rgba(92, 92, 135, 0.82);
  --skeleton: #6e6e95;
  --accent: #080718;
  --accent-press: #02010a;
}
</style>

<section class="grid" aria-labelledby="grid-title">
  <h2 class="grid__heading" id="grid-title">Shelved this month</h2>
  <ul class="grid__list">
    <li class="grid__card grid__item">
      <a class="grid__link" href="#">
        <span class="grid__pic"><img src="assets/armchair.jpg" alt="Carved armchair with red damask upholstery" width="800" height="617" loading="lazy"></span>
        <span class="grid__meta">
          <span class="grid__fav" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M4 15V8a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v7M4 11h12" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg></span>
          <span class="grid__domain">slowseat.co</span>
          <span class="grid__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="grid__title">Slowseat — Carved Chairs for Sitting Badly</span>
        <span class="grid__blurb">Lions on the legs, damask on the cushion and an arm too low to rest on. Restored, photographed and listed with every flaw.</span>
      </a>
    </li>
    <li class="grid__card grid__item">
      <a class="grid__link" href="#">
        <span class="grid__pic"><img src="assets/card-table.jpg" alt="Mahogany card table on a winged gilt pedestal" width="800" height="666" loading="lazy"></span>
        <span class="grid__meta">
          <span class="grid__fav" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M3 7h14M6 7v9M14 7v9M8 4h4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg></span>
          <span class="grid__domain">foldtop.house</span>
          <span class="grid__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="grid__title">Foldtop — Tables That Open Into Bigger Tables</span>
        <span class="grid__blurb">Card tables, drop leaves and gate legs, each with a short film of the fold. Measurements open and closed.</span>
      </a>
    </li>
    <li class="grid__card grid__item">
      <a class="grid__link" href="#">
        <span class="grid__pic"><img src="assets/teapot.jpg" alt="Porcelain teapot shaped as a man in a green coat" width="800" height="640" loading="lazy"></span>
        <span class="grid__meta">
          <span class="grid__fav" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M5 9h9v3a4 4 0 0 1-4 4H9a4 4 0 0 1-4-4ZM14 10h2v2h-2M8 6h3" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
          <span class="grid__domain">oddpots.club</span>
          <span class="grid__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="grid__title">Odd Pots — Teapots With Opinions</span>
        <span class="grid__blurb">Porcelain gentlemen, cabbages and cottages that pour. A club for people who own more than one.</span>
      </a>
    </li>
    <li class="grid__card grid__item">
      <a class="grid__link" href="#">
        <span class="grid__pic"><img src="assets/lamp.jpg" alt="Enamelled glass lamp with a flared neck" width="554" height="800" loading="lazy"></span>
        <span class="grid__meta">
          <span class="grid__fav" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M7 4h6l2 7H5ZM10 11v5M7 16h6" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
          <span class="grid__domain">wickandglass.org</span>
          <span class="grid__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="grid__title">Wick &amp; Glass — An Archive of Hanging Light</span>
        <span class="grid__blurb">Enamelled glass lamps, catalogued by neck shape and painted band. Thirty years of auction notes, searchable.</span>
      </a>
    </li>
  </ul>
</section>

<style>
  .grid {
    width: min(100% - 2 * var(--edge), var(--page-width));
    margin: 0 auto;
    padding: var(--space-xl) 0 var(--section-space);
  }
  .grid__heading {
    margin: 0 0 var(--space-xl);
    font-size: var(--display-l);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: var(--track-display-l);
  }
  .grid__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .grid__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--space-s) var(--space-s) var(--space-l);
    border-radius: var(--radius-card);
    background: var(--card);
    color: var(--ink);
    text-decoration: none;
    transition: background-color var(--time) var(--ease-std);
  }
  .grid__link:hover { background: var(--card-hi); }
  .grid__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .grid__pic {
    display: block;
    aspect-ratio: 464 / 242;
    overflow: hidden;
    border-radius: var(--radius-pic);
    background: var(--tile-well);
  }
  .grid__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--slow) var(--ease);
  }
  .grid__link:hover .grid__pic img { transform: scale(1.04); }
  .grid__meta {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    margin: var(--space-l) 20px var(--space-l);
  }
  .grid__fav,
  .grid__go {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-round);
    background: var(--well);
    color: var(--ink);
  }
  .grid__fav svg { width: 18px; height: 18px; color: var(--accent); }
  .grid__go svg { width: 12px; height: 12px; transition: transform var(--time) var(--ease); }
  .grid__link:hover .grid__go svg { transform: translate(2px, -2px); }
  .grid__domain {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: var(--text-s);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .grid__title {
    margin: 0 20px var(--space-s);
    font-size: clamp(24px, 3vw, var(--display-m));
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: var(--track-display);
    text-wrap: balance;
  }
  .grid__blurb {
    margin: 0 20px;
    color: var(--ink-soft);
    font-size: var(--text-s);
    line-height: 1.38;
  }
  .grid__item {
    opacity: 0;
    translate: 0 16px;
    transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
    transition-delay: calc(var(--order, 0) * 80ms);
  }
  .grid.is-seen .grid__item { opacity: 1; translate: 0 0; }

  @media (max-width: 44rem) {
    .grid__list { grid-template-columns: minmax(0, 1fr); }
  }
  @media (prefers-reduced-motion: reduce) {
    .grid__item { opacity: 1; translate: 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.05 });
  for (const root of document.querySelectorAll('.grid')) {
    root.querySelectorAll('.grid__item').forEach((item, order) => item.style.setProperty('--order', order));
    seen.observe(root);
  }
})();
</script>

Similar components

Grey card rail

Grey card rail

Selected work cards

Selected work cards

Route notes

Route notes

Object cards

Object cards

App tiles

App tiles

Fanned feature cards

Fanned feature cards

Stacked step sheets

Stacked step sheets

Coming-soon card

Coming-soon card