kitbash Sign in Connect agent
Components

Red flood studio

A section flooded in pure red: a duotone picture slider drawn in SVG with a pill counter on one side, a statement and first-line-indented paragraphs with underlined links on the other.

Part of the style

Sticker Badge Studio

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

Preview

Code
<style>
/* Goes after the pack's base.css */
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;800&family=Newsreader:opsz,wght@6..72,400;6..72,600&display=swap");
:root {
  --ink: #445045;
  --paper: #ffffff;
  --flood-shade: rgba(68, 80, 69, 0.82);
  --veil: rgba(255, 255, 255, 0.86);
  --signal-blue: #19772f;
  --card-screen: #166829;
  --card-screen-chip: #2e733a;
  --card-lilac: #a3d1a6;
  --signal-red: #667f90;
  --card-pink: #85dc8f;
  --signal-green: #aec9dc;
  --card-lemon: #afc2cf;
  --card-mint: #bfc7cd;
  --card-moss: #65737d;
  --font-text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}
</style>

<section class="studio" aria-label="about the studio">
  <div class="studio__side">
    <p class="studio__mark" aria-hidden="true"><span class="studio__mark-word">about</span></p>
  </div>

  <div class="studio__text">
    <p class="studio__lead">blip started in 2021 as two friends and a borrowed pen plotter. now it is three people, two plotters and a cat that belongs to the neighbours.</p>
    <p class="studio__para">we work where design meets code. we would rather write the small program that makes a hundred posters than draw one poster a hundred times.</p>

    <figure class="studio__slides" aria-roledescription="slideshow" aria-label="the studio">
      <div class="studio__frame">
        <svg class="studio__slide is-shown" viewBox="0 0 400 300" role="img" aria-label="the front room: a tall window, curtains, a low sofa">
          <path d="M0 0H400V300H0Z M24 22H246V228H24Z" fill="currentColor" fill-rule="evenodd" fill-opacity="0.55" />
          <circle cx="70" cy="90" r="46" fill="currentColor" fill-opacity="0.3" />
          <circle cx="150" cy="70" r="38" fill="currentColor" fill-opacity="0.22" />
          <circle cx="210" cy="120" r="52" fill="currentColor" fill-opacity="0.28" />
          <rect x="24" y="150" width="222" height="78" fill="currentColor" fill-opacity="0.2" />
          <path d="M98 22V228M172 22V228M24 112H246" stroke="currentColor" stroke-width="5" stroke-opacity="0.9" />
          <rect x="20" y="18" width="230" height="214" fill="none" stroke="currentColor" stroke-width="8" />
          <g fill="currentColor">
            <rect x="256" y="6" width="12" height="230" fill-opacity="0.75" />
            <rect x="272" y="6" width="9" height="230" fill-opacity="0.35" />
            <rect x="284" y="6" width="14" height="230" fill-opacity="0.8" />
            <rect x="302" y="6" width="8" height="230" fill-opacity="0.3" />
            <rect x="313" y="6" width="15" height="230" fill-opacity="0.7" />
            <rect x="332" y="6" width="10" height="230" fill-opacity="0.4" />
            <rect x="346" y="6" width="16" height="230" fill-opacity="0.85" />
            <rect x="366" y="6" width="9" height="230" fill-opacity="0.35" />
            <rect x="378" y="6" width="22" height="230" fill-opacity="0.75" />
          </g>
          <rect y="232" width="400" height="68" fill="currentColor" fill-opacity="0.78" />
          <rect x="54" y="176" width="176" height="38" rx="8" fill="currentColor" fill-opacity="0.92" />
          <rect x="62" y="206" width="160" height="34" rx="6" fill="currentColor" />
          <path d="M70 240V262M214 240V262" stroke="currentColor" stroke-width="5" />
          <path d="M300 262V120L326 96" stroke="currentColor" stroke-width="4" fill="none" />
          <path class="studio__lit" d="M312 88L344 80L348 102L318 112Z" />
        </svg>

        <svg class="studio__slide" viewBox="0 0 400 300" role="img" aria-label="the desk: a pen plotter drawing waves under a lamp">
          <rect width="400" height="300" fill="currentColor" fill-opacity="0.6" />
          <path class="studio__lit" d="M232 60L330 196H120Z" opacity="0.55" />
          <rect y="196" width="400" height="12" fill="currentColor" />
          <path d="M40 208V300M360 208V300" stroke="currentColor" stroke-width="8" />
          <rect x="74" y="140" width="200" height="56" rx="4" fill="currentColor" fill-opacity="0.9" />
          <rect class="studio__lit" x="98" y="150" width="152" height="40" />
          <path d="M104 182q10-22 20 0t20 0 20 0 20 0 20 0 20 0 20 0" fill="none" stroke="currentColor" stroke-width="2.5" />
          <path d="M104 166q10-14 20 0t20 0 20 0 20 0 20 0 20 0 20 0" fill="none" stroke="currentColor" stroke-width="2.5" stroke-opacity="0.6" />
          <rect x="190" y="128" width="12" height="40" fill="currentColor" />
          <path d="M84 140V122H264V140" fill="none" stroke="currentColor" stroke-width="6" />
          <path d="M330 196V170L292 96L240 60" fill="none" stroke="currentColor" stroke-width="6" stroke-linejoin="round" />
          <path d="M214 46L256 40L250 76Z" fill="currentColor" />
          <rect x="300" y="150" width="56" height="46" rx="3" fill="currentColor" fill-opacity="0.7" />
        </svg>

        <svg class="studio__slide" viewBox="0 0 400 300" role="img" aria-label="the shelf: plants, a poster with an oval badge, boxes">
          <rect width="400" height="300" fill="currentColor" fill-opacity="0.5" />
          <rect x="230" y="30" width="120" height="150" fill="currentColor" fill-opacity="0.85" />
          <rect class="studio__lit" x="240" y="40" width="100" height="130" />
          <ellipse cx="290" cy="104" rx="38" ry="18" fill="none" stroke="currentColor" stroke-width="5" />
          <path d="M270 112l6-20h7l-6 20zM287 112l6-20h7l-6 20z" fill="currentColor" />
          <rect x="20" y="120" width="190" height="8" fill="currentColor" />
          <rect x="20" y="210" width="380" height="10" fill="currentColor" />
          <rect y="220" width="400" height="80" fill="currentColor" fill-opacity="0.75" />
          <path d="M44 120V90h34v30z" fill="currentColor" />
          <ellipse cx="50" cy="66" rx="10" ry="26" transform="rotate(-24 50 66)" fill="currentColor" fill-opacity="0.85" />
          <ellipse cx="72" cy="62" rx="9" ry="28" transform="rotate(18 72 62)" fill="currentColor" fill-opacity="0.7" />
          <ellipse cx="60" cy="54" rx="8" ry="30" fill="currentColor" fill-opacity="0.95" />
          <rect x="110" y="84" width="22" height="36" fill="currentColor" fill-opacity="0.7" />
          <rect x="136" y="72" width="18" height="48" fill="currentColor" fill-opacity="0.9" />
          <rect x="158" y="92" width="34" height="28" fill="currentColor" fill-opacity="0.6" />
          <path d="M60 210v-40h46v40z" fill="currentColor" />
          <ellipse cx="72" cy="150" rx="14" ry="30" transform="rotate(-30 72 150)" fill="currentColor" fill-opacity="0.8" />
          <ellipse cx="96" cy="146" rx="12" ry="32" transform="rotate(26 96 146)" fill="currentColor" fill-opacity="0.65" />
          <rect x="250" y="176" width="70" height="34" fill="currentColor" fill-opacity="0.8" />
          <rect x="326" y="160" width="50" height="50" fill="currentColor" fill-opacity="0.65" />
        </svg>
      </div>
      <div class="studio__pager">
        <button class="studio__dot is-current" type="button" aria-label="picture 1, the front room" aria-current="true"><span class="studio__dot-mark"></span></button>
        <button class="studio__dot" type="button" aria-label="picture 2, the desk"><span class="studio__dot-mark"></span></button>
        <button class="studio__dot" type="button" aria-label="picture 3, the shelf"><span class="studio__dot-mark"></span></button>
      </div>
    </figure>

    <p class="studio__para">«blip» is the sound a machine makes when it is happy. that is the bar we hold every project to.</p>
    <p class="studio__para">most work starts with a long walk and a short sketch. if that sounds like your kind of project, write to us or find us on <a class="studio__link" href="#">instagram</a> and <a class="studio__link" href="#">are.na</a>.</p>
  </div>
</section>

<style>
  .studio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    padding: var(--edge) var(--edge) var(--space-l);
    background: var(--signal-red);
    color: var(--ink);
  }
  .studio__side {
    display: grid;
    justify-items: center;
    align-content: start;
    padding-top: clamp(2rem, 8vw, 7rem);
  }
  .studio__mark {
    margin: 0;
    padding: 0.06em 0.4em 0.14em 0.36em;
    border: var(--ring) solid var(--paper);
    border-radius: 50%;
    color: var(--paper);
    font-size: clamp(3.5rem, 11vw, 10rem);
    font-stretch: var(--stretch-mark);
    font-style: italic;
    font-weight: var(--weight-mark);
    line-height: 0.95;
    letter-spacing: var(--tracking-mark);
    rotate: -6deg;
  }
  .studio__mark-word {
    display: block;
    translate: -0.03em 0;
  }
  .studio__text {
    max-width: 46ch;
  }
  .studio__lead,
  .studio__para {
    margin: 0;
    text-wrap: pretty;
  }
  .studio__para {
    text-indent: var(--indent);
  }
  .studio__lead + .studio__para {
    margin-top: var(--space-m);
  }
  .studio__para + .studio__para {
    margin-top: var(--space-m);
  }
  .studio__link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.12em;
    transition: color var(--time) var(--ease);
  }
  .studio__link:hover {
    color: var(--paper);
  }
  .studio__link:focus-visible,
  .studio__dot:focus-visible {
    outline: 2px solid var(--paper);
    outline-offset: 2px;
  }

  .studio__slides {
    position: relative;
    margin: var(--space-m) 0;
  }
  .studio__frame {
    position: relative;
    display: grid;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-window);
    color: var(--flood-shade);
  }
  .studio__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(closest-side, transparent 60%, var(--flood-shade) 160%);
    pointer-events: none;
  }
  .studio__slide {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--time-slow) var(--ease);
  }
  .studio__slide.is-shown {
    opacity: 1;
  }
  .studio__lit {
    fill: var(--signal-red);
  }
  .studio__pager {
    position: absolute;
    top: 0;
    left: 0.25rem;
    z-index: 1;
    display: flex;
  }
  .studio__dot {
    display: grid;
    place-items: center;
    min-width: var(--tap);
    height: var(--tap);
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .studio__dot-mark {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 1rem;
    background: var(--ink);
    transition: width var(--time) var(--ease-pop);
  }
  .studio__dot.is-current .studio__dot-mark {
    width: 2rem;
  }

  @media (max-width: 40rem) {
    .studio {
      grid-template-columns: 1fr;
      font-size: var(--text-l);
    }
    .studio__side {
      order: 2;
      padding-top: var(--space-m);
    }
    .studio__text {
      max-width: none;
    }
  }
</style>

<script>
(() => {
  const EVERY = 4200;
  const STILL = window.matchMedia('(prefers-reduced-motion: reduce)');

  function setUp(root) {
    const slides = [...root.querySelectorAll('.studio__slide')];
    const dots = [...root.querySelectorAll('.studio__dot')];
    let current = 0;
    let timer = 0;

    function show(index) {
      slides[current].classList.remove('is-shown');
      dots[current].classList.remove('is-current');
      dots[current].removeAttribute('aria-current');
      current = index;
      slides[current].classList.add('is-shown');
      dots[current].classList.add('is-current');
      dots[current].setAttribute('aria-current', 'true');
    }

    function stop() {
      clearInterval(timer);
      timer = 0;
    }

    function start() {
      stop();
      if (!STILL.matches) timer = setInterval(() => show((current + 1) % slides.length), EVERY);
    }

    dots.forEach((dot, index) => dot.addEventListener('click', () => { show(index); start(); }));
    new IntersectionObserver(([entry]) => (entry.isIntersecting ? start() : stop())).observe(root.querySelector('.studio__slides'));
  }

  document.querySelectorAll('.studio').forEach(setUp);
})();
</script>

Similar components

Project chapter

Project chapter

Black statement

Black statement

Small caps statement

Small caps statement

Mixed-type headline

Mixed-type headline

Case study flood

Case study flood

Discipline shapes

Discipline shapes

Profile

Profile

Giant words slide

Giant words slide