kitbash Sign in Connect agent
Components

News cards

Snapping horizontal rail of tall cards in three skins (white, dark fade, bright teal). Each has a dotted date, a sans title and, cut off by the bottom edge, a round gradient picture next to a rounded tile holding a round More link.

Part of the style

Glass Lens Calm

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --night: #f6e1c5;
  --frost: #40403b;
  --ice: #2a2a28;
  --mist: #191916;
  --paper: #20201f;
  --ink: #f8e2c6;
  --ink-soft: rgba(248, 226, 198, 0.5);
  --on-dark-soft: rgba(43, 43, 40, 0.62);
  --line: rgba(255, 255, 252, 0.12);
  --line-dark: rgba(32, 32, 31, 0.2);
  --glass: rgba(43, 43, 40, 0.12);
  --glass-pale: rgba(32, 32, 31, 0.42);
  --glass-rim: rgba(32, 32, 31, 0.85);
  --deep: #908578;
  --glass-glow: rgba(105, 98, 89, 0.5);
  --sea: #6d5d49;
  --glass-shade: rgba(85, 79, 72, 0.6);
  --mint: #68625b;
  --haze: #6c6358;
  --coral: #786e61;
  --coral-press: #8a8073;
  --spectrum-rose: #6d6458;
  --spectrum-warm: #6c6256;
  --spectrum-cool: #6c6256;
}
</style>

<section class="dispatch">
  <h2 class="dispatch__title">Field notes</h2>

  <div class="dispatch__rail" tabindex="0" role="group" aria-label="Field notes, scroll sideways for more">
    <article class="dispatch__card dispatch__card--paper">
      <p class="dispatch__date"><span>14</span><span>09</span><span>2026</span></p>
      <h3 class="dispatch__heading">Kettle Rise passes its first full storm season</h3>
      <div class="dispatch__base">
        <span class="dispatch__picture dispatch__picture--ripple" aria-hidden="true"></span>
        <a class="dispatch__more" href="#" aria-label="More on Kettle Rise passes its first full storm season">
          <span class="dispatch__more-face">More
            <svg viewBox="0 0 18 14" aria-hidden="true" focusable="false"><path d="M1 7h15.5M10.5 1l6 6-6 6" /></svg>
          </span>
        </a>
      </div>
    </article>

    <article class="dispatch__card dispatch__card--dusk">
      <p class="dispatch__date"><span>02</span><span>08</span><span>2026</span></p>
      <h3 class="dispatch__heading">Port Tavish signs a thirty year operating contract</h3>
      <div class="dispatch__base">
        <span class="dispatch__picture dispatch__picture--lens" aria-hidden="true"></span>
        <a class="dispatch__more" href="#" aria-label="More on Port Tavish signs a thirty year operating contract">
          <span class="dispatch__more-face">More
            <svg viewBox="0 0 18 14" aria-hidden="true" focusable="false"><path d="M1 7h15.5M10.5 1l6 6-6 6" /></svg>
          </span>
        </a>
      </div>
    </article>

    <article class="dispatch__card dispatch__card--sea">
      <p class="dispatch__date"><span>21</span><span>06</span><span>2026</span></p>
      <h3 class="dispatch__heading">What a reed bed does that a filter cannot</h3>
      <div class="dispatch__base">
        <span class="dispatch__picture dispatch__picture--drop" aria-hidden="true"></span>
        <a class="dispatch__more" href="#" aria-label="More on What a reed bed does that a filter cannot">
          <span class="dispatch__more-face">More
            <svg viewBox="0 0 18 14" aria-hidden="true" focusable="false"><path d="M1 7h15.5M10.5 1l6 6-6 6" /></svg>
          </span>
        </a>
      </div>
    </article>
  </div>
</section>

<style>
  .dispatch {
    padding: var(--section-space) 0;
    background: var(--paper);
  }
  .dispatch__title {
    margin: 0 0 var(--space-xl);
    padding: 0 var(--gutter);
    color: var(--deep);
    font-family: var(--font-display);
    font-size: var(--display-xl);
    font-weight: var(--display-weight);
    font-variation-settings: var(--display-cut);
    line-height: 1;
    letter-spacing: var(--tracking-display);
    text-align: center;
  }

  .dispatch__rail {
    display: flex;
    gap: var(--gap);
    padding: 0 var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .dispatch__rail::-webkit-scrollbar {
    display: none;
  }
  .dispatch__rail:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: -2px;
  }

  /* One card, three skins: white with a hairline, the dark fade, flat bright teal. */
  .dispatch__card {
    --card-ink: var(--paper);
    --card-line: var(--line-dark);
    --card-tile: var(--glass);
    --card-face: transparent;
    flex: none;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: clamp(17.5rem, 41.8vw, 37.625rem);
    min-height: clamp(26rem, 46vw, 35rem);
    padding: var(--space-l);
    border: 1px solid transparent;
    border-radius: var(--radius-card);
    color: var(--card-ink);
    scroll-snap-align: start;
  }
  .dispatch__card--paper {
    --card-ink: var(--deep);
    --card-line: var(--line);
    --card-tile: var(--mint);
    --card-face: var(--paper);
    border-color: var(--line);
    background: var(--paper);
  }
  .dispatch__card--dusk {
    background: var(--fade-dark);
  }
  .dispatch__card--sea {
    --card-tile: var(--line-dark);
    background: var(--sea);
  }

  .dispatch__date {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 var(--space-m);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-label);
  }
  .dispatch__date span:first-child::after {
    content: "";
    display: inline-block;
    width: 0.25rem;
    height: 0.25rem;
    margin-left: 0.75rem;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
  }
  .dispatch__heading {
    max-width: 14em;
    margin: 0;
    font-size: var(--title-l);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: var(--tracking-title);
    text-wrap: balance;
  }

  .dispatch__base {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 11.5rem));
    gap: var(--space-s);
    margin-bottom: calc(var(--space-l) * -1);
    padding-top: var(--space-l);
    overflow: hidden;
  }
  .dispatch__picture,
  .dispatch__more {
    aspect-ratio: 1;
    margin-bottom: -6%;
  }

  /* Pictures are small glass studies drawn with gradients. */
  .dispatch__picture {
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--card-line);
  }
  .dispatch__picture--ripple {
    background:
      radial-gradient(circle at 62% 38%, var(--paper) 0 4%, transparent 5%),
      repeating-radial-gradient(circle at 62% 38%, transparent 0 9%, color-mix(in srgb, var(--sea) 55%, transparent) 9.5% 10.5%, transparent 11% 19%),
      linear-gradient(160deg, var(--mint), var(--frost) 60%, var(--haze));
  }
  .dispatch__picture--lens {
    background:
      radial-gradient(circle at 50% 50%, transparent 60%, var(--glass-glow) 70%, transparent 71%),
      radial-gradient(circle at 42% 40%, var(--glass) 0, transparent 60%),
      var(--glass);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .dispatch__picture--drop {
    background:
      radial-gradient(circle at 44% 42%, var(--paper) 0 4%, transparent 9%),
      radial-gradient(circle at 50% 50%, var(--mint) 0 27%, transparent 27.5%),
      radial-gradient(circle at 50% 50%, transparent 0 40%, var(--sea) 40.5% 41.5%, transparent 42%),
      var(--paper);
  }

  /* The link is a rounded tile with a round face. The face shrinks a little on hover and the arrow steps right. */
  .dispatch__more {
    display: grid;
    padding: 2.5%;
    border-radius: var(--radius-tile);
    background: var(--card-tile);
    box-shadow: inset 0 0 0 1px var(--card-line);
    color: inherit;
    font-size: var(--text-l);
    font-weight: 500;
    text-decoration: none;
  }
  .dispatch__more-face {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    border-radius: 50%;
    background: var(--card-face);
    box-shadow: inset 0 0 0 1px var(--card-line);
    transition: transform var(--time-slow) var(--ease-out);
  }
  .dispatch__more svg {
    width: 1.125rem;
    height: 0.875rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--time) ease;
  }
  .dispatch__more:hover .dispatch__more-face,
  .dispatch__more:focus-visible .dispatch__more-face {
    transform: scale(0.92);
  }
  .dispatch__more:hover svg,
  .dispatch__more:focus-visible svg {
    transform: translateX(0.25rem);
  }
  .dispatch__more:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
  }

  @media (max-width: 40rem) {
    .dispatch__card {
      width: 82vw;
      padding: var(--space-m);
    }
    .dispatch__base {
      margin-bottom: calc(var(--space-m) * -1);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .dispatch__more-face,
    .dispatch__more svg {
      transition-duration: 0s;
    }
  }
</style>

Similar components

Fret tiles

Fret tiles

Colour cards

Colour cards

Feature cards

Feature cards

Infrastructure checker

Infrastructure checker

Specimen cards

Specimen cards

Dispatches

Dispatches

Work cards

Work cards

This week

This week