kitbash Sign in Connect agent
Components

Project thread

The process told as a chat channel in a white app window: messages arrive one by one with a typing indicator, under a taped note.

Part of the style

Cloud Sky Artboard

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #362c24;
  --night: #170e07;
  --paper: #fffefb;
  --paper-soft: #fffefb;
  --paper-glass: rgba(255, 254, 251, 0.55);
  --sky-mid: #fdcca8;
  --cloud: rgba(255, 254, 251, 0.85);
  --flame-soft: #fffefb;
  --flame: #98765d;
  --select: #a88064;
  --ink-mute: #9d938d;
  --ink-soft: #4e4641;
  --night-line: #322922;
  --sky-low: #c5b9b1;
  --sky-top: #b2937d;
  --live: #b0927d;
  --note: #b18e74;
}
</style>

<section class="thread">
  <header class="thread__head">
    <p class="thread__scribble">how it goes</p>
    <h2 class="thread__title">No forms. No hoops. Just a thread.</h2>
    <p class="thread__note">One channel, zero chaos. This is the whole process.</p>
  </header>

  <div class="thread__window">
    <div class="thread__bar">
      <span class="thread__channel"># halyard × your-shop</span>
      <span class="thread__people" aria-label="3 online">
        <span class="thread__face thread__face--a">H</span><span class="thread__face thread__face--b">M</span><span class="thread__face thread__face--c">Y</span>
        <span class="thread__online"><span class="thread__dot"></span>3 online</span>
      </span>
    </div>

    <ol class="thread__list">
      <li class="thread__msg thread__item">
        <span class="thread__face thread__face--c">Y</span>
        <div class="thread__bubble"><p class="thread__who">You <time>9:02</time></p><p class="thread__text">We sell kites. Our site looks like a tax form. Help?</p></div>
      </li>
      <li class="thread__msg thread__item">
        <span class="thread__face thread__face--a">H</span>
        <div class="thread__bubble"><p class="thread__who">Halyard <time>9:06</time></p><p class="thread__text">Love it. Sending a loom walkthrough and a first sketch by Thursday.</p></div>
      </li>
      <li class="thread__day thread__item"><span>day 4 · first draft</span></li>
      <li class="thread__msg thread__item">
        <span class="thread__face thread__face--c">Y</span>
        <div class="thread__bubble"><p class="thread__who">You <time>14:20</time></p><p class="thread__text">The hero moves when I wave at it?? Ship it.</p></div>
      </li>
      <li class="thread__msg thread__item">
        <span class="thread__face thread__face--a">H</span>
        <div class="thread__bubble"><p class="thread__who">Halyard <time>14:21</time></p><p class="thread__text">Shipped <span class="thread__emoji" aria-hidden="true">🪁</span> live at your-shop.com</p></div>
      </li>
      <li class="thread__msg thread__msg--typing thread__item" aria-label="Halyard is typing">
        <span class="thread__face thread__face--a">H</span>
        <div class="thread__bubble"><span class="thread__typing"><i></i><i></i><i></i></span></div>
      </li>
    </ol>
  </div>
</section>

<style>
  .thread {
    padding: var(--section-space) var(--edge);
  }
  .thread__head {
    display: grid;
    justify-items: center;
    margin-bottom: clamp(28px, 4vw, 44px);
    text-align: center;
  }
  .thread__scribble {
    margin: 0;
    font: 500 clamp(1.4rem, 2.4vw, 1.9rem) / 1 var(--font-hand);
    color: var(--flame);
    rotate: -3deg;
  }
  .thread__title {
    max-width: 14em;
    margin: 4px 0 var(--space-m);
    font: 800 var(--display-l) / 0.98 var(--font-display);
    letter-spacing: -0.045em;
    text-transform: uppercase;
    text-wrap: balance;
  }
  .thread__note {
    position: relative;
    margin: 0;
    padding: 8px 18px;
    background: var(--note);
    rotate: -1.5deg;
    box-shadow: 0 6px 14px -8px rgb(20 32 43 / 0.4);
    font-size: var(--text-s);
    color: var(--ink);
  }
  .thread__note::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 54px;
    height: 16px;
    translate: -50% 0;
    rotate: 4deg;
    background: var(--paper-glass);
  }

  .thread__window {
    max-width: 720px;
    margin: 0 auto;
    border-radius: var(--radius-l);
    background: var(--paper);
    box-shadow: var(--shadow-card);
    overflow: hidden;
  }
  .thread__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-m);
    padding: 12px var(--space-l);
    border-bottom: var(--line) solid var(--paper-soft);
  }
  .thread__channel {
    font-weight: 600;
    font-size: var(--text-s);
  }
  .thread__people { display: inline-flex; align-items: center; }
  .thread__people .thread__face { margin-left: -6px; box-shadow: 0 0 0 2px var(--paper); }
  .thread__online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: var(--space-s);
    font: 400 var(--mono-s) / 1 var(--font-mono);
    color: var(--ink-soft);
  }
  .thread__dot { width: 7px; height: 7px; border-radius: var(--pill); background: var(--live); }

  .thread__face {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-m);
    font: 700 12px / 1 var(--font-mono);
    color: var(--paper);
  }
  .thread__face--a { background: var(--flame); }
  .thread__face--b { background: var(--ink); border-radius: var(--pill); }
  .thread__face--c { background: var(--select); border-radius: var(--pill); }

  .thread__list {
    display: grid;
    gap: var(--space-m);
    margin: 0;
    padding: var(--space-l);
    list-style: none;
  }
  .thread__msg { display: flex; gap: var(--space-s); align-items: flex-start; }
  .thread__who {
    margin: 0 0 2px;
    font-size: var(--text-s);
    font-weight: 600;
  }
  .thread__who time {
    margin-left: 6px;
    font: 400 var(--mono-xs) / 1 var(--font-mono);
    color: var(--ink-mute);
  }
  .thread__text { margin: 0; color: var(--ink-soft); }
  .thread__day {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    font: 400 var(--mono-xs) / 1 var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--flame);
  }
  .thread__day::before,
  .thread__day::after { content: ""; flex: 1; border-top: var(--line) dashed var(--flame-soft); }
  .thread__msg--typing .thread__bubble {
    padding: 10px 14px;
    border-radius: var(--radius-m);
    background: var(--paper-soft);
  }
  .thread__typing { display: flex; gap: 4px; }
  .thread__typing i {
    width: 6px;
    height: 6px;
    border-radius: var(--pill);
    background: var(--ink-mute);
    animation: thread-bob 1.1s var(--ease) infinite;
  }
  .thread__typing i:nth-child(2) { animation-delay: 0.15s; }
  .thread__typing i:nth-child(3) { animation-delay: 0.3s; }
  @keyframes thread-bob {
    30% { translate: 0 -4px; background: var(--flame); }
    60% { translate: 0 0; }
  }

  .thread__item {
    opacity: 0;
    translate: 0 16px;
    transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
    transition-delay: calc(var(--order, 0) * 140ms);
  }
  .thread.is-seen .thread__item { opacity: 1; translate: 0 0; }
  .thread:not(.is-live) .thread__typing i { animation-play-state: paused; }

  @media (max-width: 560px) {
    .thread__bar { padding: 12px var(--space-m); }
    .thread__list { padding: var(--space-m); }
    .thread__online { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .thread__item { opacity: 1; translate: none; transition: none; }
    .thread__typing i { animation: none; }
  }
</style>

<script>
(() => {
  const watch = new IntersectionObserver((entries) => {
    for (const entry of entries) {
      entry.target.classList.toggle('is-live', entry.isIntersecting);
      if (entry.isIntersecting) entry.target.classList.add('is-seen');
    }
  }, { threshold: 0.1 });
  for (const root of document.querySelectorAll('.thread')) {
    root.querySelectorAll('.thread__item').forEach((item, order) => item.style.setProperty('--order', order));
    watch.observe(root);
  }
})();
</script>

Similar components

What we do

What we do

Comma client paragraph

Comma client paragraph

Audience rows

Audience rows

Dated post list

Dated post list

Numbered steps

Numbered steps

Programme rows

Programme rows

Insights

Insights

Writing list

Writing list