kitbash Sign in Connect agent
Components

Stacked step sheets

White sheets with rounded tops that stick and stack on scroll, each with a step label, copy, a quote bubble and a lilac mock that types or shows a crew.

Part of the style

Dusty Status Cards

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --stone: #d5e8e6;
  --white: #eafdfb;
  --night: #5e352b;
  --ink: #5e352b;
  --ink-soft: #76544c;
  --ink-faint: #99bcb9;
  --rule: rgba(94, 53, 43, 0.16);
  --button: #300c05;
  --on-button: #eafdfb;
  --sage: #aac5c2;
  --sage-ink: #785148;
  --lilac: #c7a898;
  --lilac-ink: #250c01;
  --lilac-line: rgba(37, 12, 1, 0.3);
  --lilac-deep: #cfa995;
  --rose: #d0a284;
  --rose-ink: #240d00;
  --ochre: #c7a898;
  --ochre-ink: #22120a;
}
</style>

<section class="steps" aria-label="How it works">
  <article class="steps__sheet" style="--n: 0">
    <p class="steps__label"><span class="steps__tab">Step 1 • The brief</span></p>
    <div class="steps__body">
      <div class="steps__text">
        <h2 class="steps__title">Tell us what you're making</h2>
        <p class="steps__copy">Post a short brief: the room, the deadline, the budget and what the place should feel like when the doors open.</p>
        <blockquote class="steps__quote">"I had a lease, a date and an empty room. The brief took ten minutes and the crew asked better questions than I did."</blockquote>
        <div class="steps__foot">
          <div class="steps__person">
            <img class="steps__face" src="assets/face-a.jpg" alt="Painted portrait standing in for a customer" width="48" height="48">
            <p class="steps__who"><span class="steps__name">Margit Olander</span><span class="steps__role">Owner, Olander Wine Room</span></p>
          </div>
          <a class="steps__button" href="#">Book a crew</a>
        </div>
      </div>
      <div class="steps__visual">
        <div class="steps__mock">
          <p class="steps__meta"><span class="steps__status">Writing brief</span><span>Just now</span></p>
          <p class="steps__typed" aria-label="Hand-built bar for a twelve-seat wine shop">Hand-built bar for a twelve-seat wine shop</p>
          <div class="steps__mockfoot">
            <p class="steps__meta"><span>Crew forming</span></p>
            <ul class="steps__roles"><li>Joiner</li><li>Metalworker</li><li>Sign painter</li><li>Lighting</li></ul>
          </div>
        </div>
      </div>
    </div>
  </article>

  <article class="steps__sheet" style="--n: 1">
    <p class="steps__label"><span class="steps__tab">Step 2 • The crew</span></p>
    <div class="steps__body">
      <div class="steps__text">
        <h2 class="steps__title">Meet a crew that fits</h2>
        <p class="steps__copy">Within a few days you're introduced to three or four makers who have built rooms like yours and can start on your dates.</p>
        <blockquote class="steps__quote">"They turned up with drawings, samples of oak and a plan for the weekend we were closed."</blockquote>
        <div class="steps__foot">
          <div class="steps__person">
            <img class="steps__face" src="assets/face-c.jpg" alt="Painted portrait standing in for a customer" width="48" height="48">
            <p class="steps__who"><span class="steps__name">Tomas Brennick</span><span class="steps__role">Co-founder, Brennick Bread</span></p>
          </div>
          <a class="steps__button" href="#">Book a crew</a>
        </div>
      </div>
      <div class="steps__visual">
        <div class="steps__mock steps__mock--crew">
          <img class="steps__float steps__float--a" src="assets/face-b.jpg" alt="" width="56" height="56">
          <img class="steps__float steps__float--b" src="assets/face-d.jpg" alt="" width="56" height="56">
          <img class="steps__float steps__float--c" src="assets/face-e.jpg" alt="" width="56" height="56">
          <p class="steps__meta"><span class="steps__status">In progress</span><span>2 days ago</span></p>
          <p class="steps__mocktitle">Bakery counter, bread wall and a painted window</p>
          <ul class="steps__chips"><li>#bakery</li><li>#oak</li><li>#signs</li></ul>
          <div class="steps__mockfoot">
            <p class="steps__meta"><span>Crew formed</span></p>
            <span class="steps__dots" aria-hidden="true"><i></i><i></i><i></i><i></i></span>
          </div>
        </div>
      </div>
    </div>
  </article>

  <article class="steps__sheet" style="--n: 2">
    <p class="steps__label"><span class="steps__tab">Step 3 • The build</span></p>
    <div class="steps__body">
      <div class="steps__text">
        <h2 class="steps__title">Open the doors</h2>
        <p class="steps__copy">Share one room with the crew, sign off each piece as it lands and be ready for opening night.</p>
        <blockquote class="steps__quote">"Six weeks from empty shell to a full room. People still ask who made the plates."</blockquote>
        <div class="steps__foot">
          <div class="steps__person">
            <img class="steps__face" src="assets/face-b.jpg" alt="Painted portrait standing in for a customer" width="48" height="48">
            <p class="steps__who"><span class="steps__name">Ines Varga</span><span class="steps__role">Chef, Varga Noodle Bar</span></p>
          </div>
          <a class="steps__button" href="#">Book a crew</a>
        </div>
      </div>
      <div class="steps__visual">
        <figure class="steps__photo">
          <img class="steps__picture" src="assets/potter.jpg" alt="A potter shaping a vessel at a workshop bench" width="800" height="1096">
          <figcaption class="steps__slip"><span class="steps__status">Shipped</span>Forty-place tableware and a house glaze</figcaption>
        </figure>
      </div>
    </div>
  </article>
</section>

<style>
  .steps {
    background: var(--night);
    padding-top: var(--seam);
  }
  .steps__sheet {
    position: sticky;
    top: calc(var(--n) * var(--step-bar));
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius-band) var(--radius-band) 0 0;
    border-top: var(--line) solid var(--rule);
  }
  .steps__label {
    display: flex;
    align-items: center;
    height: var(--step-bar);
    margin: 0;
    padding: 0 var(--edge);
  }
  .steps__tab {
    padding: var(--space-xs) var(--space-s);
    border-radius: var(--radius-chip);
    background: var(--stone);
    font-size: var(--text-label);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
  }
  .steps__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
    min-height: 36rem;
    padding: var(--space-l) var(--edge) var(--section-space);
  }
  .steps__title {
    margin: 0;
    font-size: var(--text-xl);
    font-weight: var(--weight-regular);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
  }
  .steps__copy {
    max-width: 30rem;
    margin: var(--space-m) 0 var(--space-l);
    font-size: var(--text-m);
  }
  .steps__quote {
    position: relative;
    max-width: 22rem;
    margin: 0 0 var(--space-l);
    padding: var(--space-m);
    border-radius: var(--radius-bubble);
    background: var(--stone);
    font-size: var(--text-s);
  }
  .steps__quote::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.9rem;
    width: 1.1rem;
    height: 1rem;
    background: var(--stone);
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }
  .steps__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    max-width: 30rem;
  }
  .steps__person {
    display: flex;
    align-items: center;
    gap: var(--space-s);
  }
  .steps__face {
    width: 3rem;
    height: 3rem;
    border-radius: var(--pill);
    object-fit: cover;
    object-position: 50% 22%;
  }
  .steps__who { display: grid; margin: 0; font-size: var(--text-s); line-height: 1.35; }
  .steps__name { font-weight: var(--weight-regular); }
  .steps__role { color: var(--ink-faint); }
  .steps__button {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    padding: 0 var(--space-m);
    border-radius: var(--pill);
    background: var(--button);
    color: var(--on-button);
    font-size: var(--text-s);
    font-weight: var(--weight-medium);
    text-decoration: none;
    transition: background-color var(--time) var(--ease);
  }
  .steps__button:hover { background: var(--lilac-ink); }
  .steps__button:focus-visible { outline: 2px solid var(--lilac-ink); outline-offset: 3px; }

  .steps__visual { display: flex; justify-content: center; }
  .steps__mock {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 21rem);
    min-height: 21rem;
    padding: var(--space-m);
    border-radius: var(--radius-card);
    background: var(--lilac);
    color: var(--lilac-ink);
  }
  .steps__meta {
    display: flex;
    justify-content: space-between;
    gap: var(--space-s);
    margin: 0;
    font-size: var(--text-xs);
    font-weight: var(--weight-regular);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
  }
  .steps__status::before { content: "• "; }
  .steps__typed,
  .steps__mocktitle {
    margin: var(--space-s) 0 var(--space-m);
    min-height: 2.6em;
    font-size: var(--text-l);
    line-height: 1.25;
  }
  .steps__typed.is-typing::after {
    content: "";
    display: inline-block;
    width: 1.5px;
    height: 1.1em;
    margin-left: 2px;
    vertical-align: -0.15em;
    background: currentColor;
    animation: steps-caret 1s steps(1) infinite;
  }
  @keyframes steps-caret { 50% { opacity: 0; } }
  .steps__mockfoot {
    margin: auto calc(var(--space-m) * -1) 0;
    padding: var(--space-m) var(--space-m) 0;
    border-top: var(--line) solid var(--lilac-line);
  }
  .steps__roles,
  .steps__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin: var(--space-s) 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--text-xs);
  }
  .steps__roles li {
    padding: 4px var(--space-s);
    border: var(--line) solid currentColor;
    border-radius: var(--pill);
  }
  .steps__chips { margin: 0; }
  .steps__chips li {
    padding: 1px var(--space-xs);
    border-radius: var(--radius-chip);
    background: var(--lilac-ink);
    color: var(--lilac);
  }
  .steps__dots { display: flex; margin-top: var(--space-s); }
  .steps__dots i {
    width: 1.75rem;
    height: 1.75rem;
    border: 2px solid var(--lilac);
    border-radius: var(--pill);
    background: var(--lilac-deep);
  }
  .steps__dots i + i { margin-left: -0.5rem; }
  .steps__float {
    position: absolute;
    width: 3.25rem;
    height: 3.25rem;
    border: var(--ring) solid var(--white);
    border-radius: var(--pill);
    object-fit: cover;
    object-position: 50% 22%;
  }
  .steps__float--a { top: -1.25rem; right: -1.25rem; }
  .steps__float--b { top: 2.5rem; left: -1.6rem; }
  .steps__float--c { bottom: -1.25rem; right: 1.5rem; }

  .steps__photo {
    position: relative;
    width: min(100%, 26rem);
    margin: 0;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-card);
    overflow: hidden;
  }
  .steps__picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 45%;
    filter: grayscale(1) contrast(1.05);
  }
  .steps__slip {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 0;
    display: grid;
    gap: var(--space-xs);
    padding: var(--space-m);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    background: var(--lilac);
    color: var(--lilac-ink);
    font-size: var(--text-l);
    line-height: 1.25;
  }
  .steps__slip .steps__status {
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
  }

  @media (max-width: 52rem) {
    .steps__body {
      grid-template-columns: minmax(0, 1fr);
      gap: var(--space-l);
      min-height: 0;
    }
    .steps__visual { order: -1; padding: var(--space-m) 0; }
    .steps__float--a { right: -0.5rem; }
    .steps__float--b { left: -0.75rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    .steps__typed.is-typing::after { animation: none; }
  }
</style>

<script>
(() => {
  const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
  for (const root of document.querySelectorAll('.steps')) {
    const typed = [...root.querySelectorAll('.steps__typed')];
    if (reduce) continue;
    for (const line of typed) {
      const full = line.textContent;
      let index = full.length;
      let timer = null;
      let phase = 'hold';
      const tick = () => {
        if (phase === 'type') {
          index += 1;
          line.textContent = full.slice(0, index);
          if (index >= full.length) { phase = 'hold'; timer = setTimeout(tick, 2600); return; }
          timer = setTimeout(tick, 55);
        } else if (phase === 'hold') {
          phase = 'erase';
          timer = setTimeout(tick, 30);
        } else {
          index -= 2;
          if (index <= 0) { index = 0; phase = 'type'; }
          line.textContent = full.slice(0, index);
          timer = setTimeout(tick, phase === 'type' ? 400 : 22);
        }
      };
      line.classList.add('is-typing');
      new IntersectionObserver(([entry]) => {
        clearTimeout(timer);
        if (entry.isIntersecting) timer = setTimeout(tick, 1800);
      }).observe(line);
    }
  }
})();
</script>

Similar components

Process cards on a string

Process cards on a string

Two-up entry cards

Two-up entry cards

Jewel card deck

Jewel card deck

Grey card rail

Grey card rail

Seven-day timeline

Seven-day timeline

Triage queue window

Triage queue window

Feature cards

Feature cards

Quick questions

Quick questions