kitbash Sign in Connect agent
Components

Writing list

A hairline diagram card of how ideas link, then article titles with a blue New badge, soft excerpts and a pill button.

Part of the style

Crayon Sketch Serif

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #1d0c0b;
  --ink-soft: rgba(29, 12, 11, 0.58);
  --ink-faint: rgba(29, 12, 11, 0.12);
  --paper: #f15b29;
  --paper-cool: #ee5a29;
  --on-badge: #f15b29;
  --crayon-grey: #6d2928;
  --crayon-red: #d15c4c;
  --crayon-blue: #b46662;
  --badge: #430509;
  --crayon-green: #ad7472;
  --crayon-yellow: #a37e7c;
  --crayon-tan: #8d7978;
  --crayon-violet: #a66b78;
}
</style>

<section class="writing">
  <h2 class="writing__label">Writing</h2>
  <div class="writing__body">
    <figure class="writing__diagram writing__item">
      <svg class="writing__map" viewBox="0 0 520 220" role="img" aria-label="A diagram: six sources of a brand feed one shared notebook, which feeds six places it is used">
        <g class="writing__links" fill="none" stroke="var(--ink-faint)" stroke-width="1">
          <path d="M112 28 C 170 28, 170 110, 212 110"/>
          <path d="M112 60 C 170 60, 170 110, 212 110"/>
          <path d="M112 92 C 170 92, 180 110, 212 110"/>
          <path d="M112 128 C 170 128, 180 110, 212 110"/>
          <path d="M112 160 C 170 160, 170 110, 212 110"/>
          <path d="M112 192 C 170 192, 170 110, 212 110"/>
          <path d="M308 110 C 350 110, 350 28, 408 28"/>
          <path d="M308 110 C 350 110, 350 60, 408 60"/>
          <path d="M308 110 C 340 110, 350 92, 408 92"/>
          <path d="M308 110 C 340 110, 350 128, 408 128"/>
          <path d="M308 110 C 350 110, 350 160, 408 160"/>
          <path d="M308 110 C 350 110, 350 192, 408 192"/>
        </g>
        <path class="writing__pulse" d="M112 92 C 170 92, 180 110, 212 110 L 308 110 C 340 110, 350 128, 408 128" fill="none" stroke="var(--crayon-yellow)" stroke-width="2" stroke-linecap="round" pathLength="1"/>
        <g class="writing__words" font-size="11" fill="var(--ink-soft)">
          <text x="104" y="32" text-anchor="end">Field notes</text>
          <text x="104" y="64" text-anchor="end">Interviews</text>
          <text x="104" y="96" text-anchor="end" fill="var(--ink)">Sketchbooks</text>
          <text x="104" y="132" text-anchor="end">Photographs</text>
          <text x="104" y="164" text-anchor="end">Old letters</text>
          <text x="104" y="196" text-anchor="end">Recipes</text>
          <text x="416" y="32">Labels</text>
          <text x="416" y="64">Website</text>
          <text x="416" y="96">Signage</text>
          <text x="416" y="132" fill="var(--ink)">Packaging</text>
          <text x="416" y="164">Letters</text>
          <text x="416" y="196">Vans</text>
        </g>
        <rect x="212" y="88" width="96" height="44" rx="8" fill="var(--paper)" stroke="var(--crayon-yellow)" stroke-width="1.4"/>
        <text x="260" y="106" text-anchor="middle" font-size="11" fill="var(--ink)">One shared</text>
        <text x="260" y="121" text-anchor="middle" font-size="11" fill="var(--ink)">notebook</text>
      </svg>
      <figcaption class="writing__caption">A brand is a notebook, not a rulebook <span class="writing__badge">New</span></figcaption>
    </figure>

    <ul class="writing__list">
      <li class="writing__item">
        <a class="writing__entry" href="#">
          <span class="writing__title">Naming a company after a field <span class="writing__badge">New</span></span>
          <span class="writing__excerpt">Six weeks, two hundred names and one walk that settled it. How we choose words that will still sound right in ten years.</span>
        </a>
      </li>
      <li class="writing__item">
        <a class="writing__entry" href="#">
          <span class="writing__title">Why our drawings wobble</span>
          <span class="writing__excerpt">A short defence of the shaky line, and how we keep a hand-made mark crisp at every size.</span>
        </a>
      </li>
      <li class="writing__item">
        <a class="writing__entry" href="#">
          <span class="writing__title">Packaging that survives the post</span>
          <span class="writing__excerpt">What a box learns between the warehouse and the doorstep, and what we changed after the first thousand.</span>
        </a>
      </li>
    </ul>
    <a class="writing__more writing__item" href="#">See all writing</a>
  </div>
</section>

<style>
  .writing {
    display: grid;
    grid-template-columns: var(--label-col) minmax(0, 1fr);
    gap: var(--space-m);
    padding: var(--space-l) var(--edge) var(--space-xl);
    color: var(--ink);
  }
  .writing__label {
    margin: 0;
    font-size: var(--text-m);
    font-weight: 400;
    line-height: var(--leading);
  }
  .writing__body { display: grid; gap: var(--space-l); max-width: 640px; justify-items: start; }
  .writing__diagram { display: grid; gap: var(--space-s); width: 100%; margin: 0; }
  .writing__map {
    width: 100%;
    height: auto;
    aspect-ratio: 520 / 220;
    padding: var(--space-m) var(--space-s);
    background: var(--paper-cool);
    border-radius: var(--radius-card);
    box-shadow: 0 0 0 var(--rule) var(--ink-faint), var(--shadow-soft);
    font-family: var(--font-display);
  }
  .writing__pulse {
    stroke-dasharray: 0.12 0.88;
    stroke-dashoffset: 1;
    animation: writing-flow 3.2s linear infinite;
  }
  @keyframes writing-flow { to { stroke-dashoffset: 0; } }
  .writing__caption { font-size: var(--text-m); line-height: var(--leading); }

  .writing__list { display: grid; gap: var(--space-m); margin: 0; padding: 0; list-style: none; }
  .writing__entry {
    display: grid;
    gap: 2px;
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius-card);
  }
  .writing__entry:focus-visible { outline: var(--rule) solid var(--ink); outline-offset: 6px; }
  .writing__title {
    font-size: var(--text-m);
    line-height: var(--leading-tight);
    transition: color var(--slow) var(--ease);
  }
  .writing__entry:hover .writing__title { color: var(--ink-soft); }
  .writing__excerpt {
    color: var(--ink-soft);
    font-size: var(--text-s);
    line-height: 1.5;
    max-width: 52em;
  }
  .writing__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px 2px;
    border-radius: var(--radius-pill);
    background: var(--badge);
    color: var(--on-badge);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    vertical-align: 2px;
  }
  .writing__more {
    display: inline-grid;
    place-items: center;
    min-height: 44px;
    padding: 0 var(--space-m);
    border-radius: var(--radius-pill);
    background: var(--paper);
    box-shadow: 0 0 0 var(--rule) var(--ink-faint), var(--shadow-soft);
    color: var(--ink);
    font-size: var(--text-s);
    text-decoration: none;
    transition: box-shadow var(--slow) var(--ease);
  }
  .writing__more:hover,
  .writing__more:focus-visible { box-shadow: 0 0 0 var(--rule) var(--ink-faint), var(--shadow-lift); outline: none; }

  .writing__item { opacity: 0; translate: 0 16px; transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease); transition-delay: calc(var(--order, 0) * 80ms); }
  .writing.is-seen .writing__item { opacity: 1; translate: 0 0; }

  @media (max-width: 720px) {
    .writing { grid-template-columns: minmax(0, 1fr); padding-top: var(--space-m); }
    .writing__map { padding: var(--space-s) 4px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .writing__item { opacity: 1; translate: none; transition: none; }
    .writing__pulse { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  }
</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.1 });
  const running = new IntersectionObserver((entries) => {
    for (const entry of entries) {
      const pulse = entry.target.querySelector('.writing__pulse');
      if (pulse) pulse.style.animationPlayState = entry.isIntersecting ? 'running' : 'paused';
    }
  });
  for (const root of document.querySelectorAll('.writing')) {
    root.querySelectorAll('.writing__item').forEach((item, order) => item.style.setProperty('--order', order));
    seen.observe(root);
    running.observe(root);
  }
})();
</script>

Similar components

Project thread

Project thread

Project index with preview

Project index with preview

Services list

Services list

Numeral contents

Numeral contents

What we do

What we do

Comma client paragraph

Comma client paragraph

Ringed services

Ringed services

Editions

Editions