kitbash Sign in Connect agent
Components

Matted device wall

A grid of black and charcoal mats holding drawn tablet and phone screens of an invented site, each flooding open from a black cover on view.

Part of the style

Orange Caps on Putty

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #5e352b;
  --putty: #d5e8e6;
  --sheet: #eefffd;
  --ink-soft: #779b98;
  --mat-soft: #98766d;
  --on-ink: #425351;
  --flare: #c7a898;
  --screen-rust: #50433d;
  --screen-green: #d0a284;
}
</style>

<section class="devices">
  <header class="devices__head">
    <h2 class="devices__title"><a class="devices__link" href="#">Verso Casting</a></h2>
    <p class="devices__meta">Directory, identity, build — 2024</p>
  </header>

  <div class="devices__grid">
    <figure class="devices__mat">
      <div class="devices__tablet">
        <div class="devices__screen devices__screen--word">
          <p class="devices__word">Verso</p>
          <img class="devices__cutout" src="assets/bust.jpg" alt="A bronze bust in profile wearing a draped headscarf" width="638" height="800" />
          <p class="devices__small">A directory of performers, kept by the people in it.</p>
        </div>
      </div>
    </figure>

    <figure class="devices__mat">
      <div class="devices__tablet">
        <div class="devices__screen devices__screen--split">
          <div class="devices__panel">
            <p class="devices__panel-name">Ada Merrin</p>
            <dl class="devices__specs">
              <dt>Age range</dt><dd>25–35</dd>
              <dt>Region</dt><dd>Port Calder</dd>
              <dt>Height</dt><dd>168cm</dd>
              <dt>Agent</dt><dd>Direct</dd>
            </dl>
          </div>
          <img class="devices__portrait" src="assets/sitter.jpg" alt="A sepia studio portrait of a woman with long loose hair, looking straight out" width="634" height="800" />
        </div>
      </div>
    </figure>

    <figure class="devices__mat devices__mat--soft">
      <div class="devices__phone">
        <div class="devices__screen devices__screen--phone">
          <img class="devices__phone-photo" src="assets/burgher.jpg" alt="A standing bronze figure in a long robe holding a key" width="555" height="1200" />
          <p class="devices__phone-caps">Open<br />call<br />2025</p>
        </div>
      </div>
      <div class="devices__phone">
        <div class="devices__screen devices__screen--list">
          <ul class="devices__roll">
            <li>Ada Merrin</li>
            <li>Joss Albury</li>
            <li>Reuben Toft</li>
            <li>Ines Holloway</li>
            <li>Cato Brennick</li>
            <li>Mae Larkin</li>
            <li>Theo Strand</li>
          </ul>
        </div>
      </div>
    </figure>

    <figure class="devices__mat">
      <div class="devices__tablet">
        <div class="devices__screen devices__screen--grid">
          <p class="devices__panel-name">Performers</p>
          <div class="devices__faces">
            <img class="devices__face" src="assets/sitter.jpg" alt="" width="634" height="800" />
            <img class="devices__face" src="assets/bust.jpg" alt="" width="638" height="800" />
            <img class="devices__face" src="assets/hero-bust.jpg" alt="" width="958" height="1200" />
            <img class="devices__face" src="assets/burgher.jpg" alt="" width="555" height="1200" />
            <img class="devices__face" src="assets/bust.jpg" alt="" width="638" height="800" />
            <img class="devices__face" src="assets/sitter.jpg" alt="" width="634" height="800" />
            <img class="devices__face" src="assets/burgher.jpg" alt="" width="555" height="1200" />
            <img class="devices__face" src="assets/hero-bust.jpg" alt="" width="958" height="1200" />
          </div>
        </div>
      </div>
    </figure>
  </div>
</section>

<style>
  .devices {
    padding: var(--space-l) var(--edge);
  }
  .devices__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-s) var(--gap);
    margin-bottom: var(--space-m);
  }
  .devices__title,
  .devices__meta {
    margin: 0;
    font-size: var(--text-m);
    line-height: var(--leading);
  }
  .devices__title {
    font-weight: 700;
    text-transform: uppercase;
  }
  .devices__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: currentColor;
    transition: color var(--quick) var(--ease), text-decoration-color var(--quick) var(--ease);
  }
  .devices__link:hover {
    color: var(--flare);
  }
  .devices__link:focus-visible {
    outline: 2px solid var(--flare);
    outline-offset: 2px;
  }
  .devices__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
  }
  .devices__mat {
    position: relative;
    margin: 0;
    aspect-ratio: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6%;
    background: var(--ink);
    overflow: hidden;
  }
  .devices__mat--soft {
    background: var(--mat-soft);
  }
  /* The cover: a black sheet that floods away from the middle, top and bottom first, then the sides. */
  .devices__mat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    clip-path: inset(0 0 0 0);
  }
  .devices.is-seen .devices__mat::after {
    animation: devices-flood var(--slow) var(--ease) forwards;
    animation-delay: calc(var(--order, 0) * 120ms);
  }
  @keyframes devices-flood {
    0% { clip-path: inset(0 0 0 0); }
    55% { clip-path: inset(50% 0 50% 0); }
    100% { clip-path: inset(50% 50% 50% 50%); }
  }

  .devices__tablet {
    width: 80%;
    aspect-ratio: 1.4;
    padding: 3%;
    border: 2px solid var(--ink-soft);
    border-radius: var(--radius-device);
    background: var(--ink);
  }
  .devices__phone {
    width: 26%;
    aspect-ratio: 0.49;
    padding: 2.4%;
    border: 2px solid var(--ink-soft);
    border-radius: var(--radius-device);
    background: var(--ink);
  }
  .devices__screen {
    position: relative;
    height: 100%;
    border-radius: var(--radius-screen);
    background: var(--sheet);
    overflow: hidden;
  }

  .devices__screen--word {
    padding: 4%;
  }
  .devices__word {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(30px, 7vw, 92px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.06em;
    text-transform: uppercase;
  }
  .devices__cutout {
    position: absolute;
    left: 8%;
    bottom: 0;
    width: 46%;
    height: 72%;
    object-fit: cover;
    object-position: 50% 20%;
    filter: grayscale(1) contrast(1.6) brightness(1.1);
    mix-blend-mode: multiply;
  }
  .devices__small {
    position: absolute;
    right: 4%;
    top: 38%;
    width: 34%;
    margin: 0;
    font-size: clamp(6px, 0.8vw, 11px);
    line-height: 1.2;
  }

  .devices__screen--split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
  }
  .devices__panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6%;
    background: var(--screen-rust);
    color: var(--ink);
  }
  .devices__panel-name {
    margin: 0;
    font-size: clamp(9px, 1.2vw, 16px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .devices__specs {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2em 1em;
    margin: 0;
    font-size: clamp(5px, 0.6vw, 9px);
    line-height: 1.2;
  }
  .devices__specs dd {
    margin: 0;
  }
  .devices__portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .devices__screen--phone {
    background: var(--ink);
  }
  .devices__phone-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    filter: grayscale(1) contrast(1.3);
  }
  .devices__phone-caps {
    position: absolute;
    left: 8%;
    bottom: 6%;
    margin: 0;
    color: var(--flare);
    font-family: var(--font-display);
    font-size: clamp(14px, 2.4vw, 34px);
    font-weight: 700;
    line-height: var(--display-leading);
    text-transform: uppercase;
  }
  .devices__screen--list {
    background: var(--ink);
    color: var(--on-ink);
  }
  .devices__roll {
    margin: 0;
    padding: 10% 8%;
    list-style: none;
    font-size: clamp(6px, 0.8vw, 11px);
    line-height: 1.5;
  }
  .devices__roll li {
    border-bottom: var(--rule-thin) solid var(--mat-soft);
  }

  .devices__screen--grid {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 4%;
    padding: 4%;
    background: var(--screen-rust);
  }
  .devices__faces {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4%;
    min-height: 0;
  }
  .devices__face {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 50% 20%;
    filter: grayscale(1) contrast(1.15);
  }

  @media (min-width: 75rem) {
    .devices__grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .devices__word {
      font-size: clamp(30px, 3.6vw, 64px);
    }
    .devices__panel-name {
      font-size: clamp(9px, 0.8vw, 14px);
    }
    .devices__phone-caps {
      font-size: clamp(14px, 1.4vw, 24px);
    }
    .devices__small,
    .devices__roll {
      font-size: clamp(5px, 0.45vw, 8px);
    }
    .devices__specs {
      font-size: clamp(5px, 0.4vw, 7px);
    }
  }
  @media (max-width: 40rem) {
    .devices__grid {
      grid-template-columns: 1fr;
    }
    .devices__word {
      font-size: clamp(30px, 13vw, 64px);
    }
    .devices__panel-name {
      font-size: clamp(9px, 2.6vw, 14px);
    }
    .devices__phone-caps {
      font-size: clamp(14px, 5vw, 26px);
    }
    .devices__small,
    .devices__roll {
      font-size: clamp(6px, 1.9vw, 10px);
    }
    .devices__specs {
      font-size: clamp(5px, 1.5vw, 8px);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .devices__mat::after {
      display: 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.15 });
  for (const root of document.querySelectorAll('.devices')) {
    root.querySelectorAll('.devices__mat').forEach((mat, order) => mat.style.setProperty('--order', order));
    seen.observe(root);
  }
})();
</script>

Similar components

Floating card spotlight

Floating card spotlight

Scattered letter case

Scattered letter case

Curling film ribbon

Curling film ribbon

Single print viewer

Single print viewer

Red flood split

Red flood split

Location reel

Location reel

Treated cover rail

Treated cover rail

Project windows

Project windows