kitbash Connect agent

Red Pen Shop

Minimal · 6 parts · shop · bookshop · catalogue

A whole shop drawn with one red pen on white: text, hairlines and the line-drawn logo all in a single red at one small grotesk size, with product pictures on pale grey-blue grounds as the only other colour. Suits small bookshops, galleries and makers' stores that want a quiet, printed-matter catalogue.

Get pack Remix

Whole page

Parts

Stacked header

Line-drawn logo on the left, three rows of tiny links split by a hairline, bold shop nav and a filled red cart button; on phones a bar with Menu, Search, Log in and a red cart block, and a menu panel that drops open.

Code React For Figma
<header class="masthead">
  <div class="masthead__bar">
    <button class="masthead__menu" type="button" aria-expanded="false">
      <span class="masthead__burger" aria-hidden="true"></span>
      Menu
    </button>
    <a class="masthead__bar-link" href="#">Search</a>
    <a class="masthead__bar-link" href="#">Log in</a>
    <a class="masthead__cart masthead__cart--bar" href="#">Cart ( 0 )</a>
  </div>
  <div class="masthead__panel">
    <nav class="masthead__panel-inner" aria-label="Shop">
      <a class="masthead__panel-link" href="#">All products</a>
      <a class="masthead__panel-link" href="#">Categories</a>
      <a class="masthead__panel-link" href="#">Publishers</a>
      <a class="masthead__panel-link" href="#">Sale</a>
    </nav>
  </div>

  <div class="masthead__frame">
    <a class="masthead__logo" href="#" aria-label="Pear Room, home">
      <svg class="masthead__mark" viewBox="0 0 120 108" aria-hidden="true">
        <text class="masthead__word" x="6" y="30">Pear Room</text>
        <path class="masthead__line" d="M8 38 C30 34 60 35 84 36 C96 36.5 104 34 110 28" />
        <path class="masthead__line" d="M60 50 C52 50 50 59 50 64 C50 70 40 74 40 87 C40 98 49 104 60 104 C71 104 80 98 80 87 C80 74 70 70 70 64 C70 59 68 50 60 50 Z" />
        <path class="masthead__line" d="M60 50 C60 46 61 43 64 40" />
        <path class="masthead__line" d="M63 44 C67 38 75 38 78 40 C74 45 67 46 63 44 Z" />
        <path class="masthead__line" d="M47 88 C47 82 50 78 54 76" />
      </svg>
    </a>

    <div class="masthead__rows">
      <nav class="masthead__row masthead__row--info" aria-label="About the shop">
        <div class="masthead__group">
          <a class="masthead__link" href="#">Visit</a>
          <a class="masthead__link" href="#">About</a>
          <a class="masthead__link" href="#">hello@pearroom.example</a>
        </div>
        <div class="masthead__group">
          <a class="masthead__link" href="#">Instagram</a>
          <a class="masthead__link" href="#">Mastodon</a>
        </div>
      </nav>
      <nav class="masthead__row masthead__row--news" aria-label="News">
        <div class="masthead__group">
          <a class="masthead__link" href="#">News</a>
          <a class="masthead__link" href="#">Get the monthly letter</a>
        </div>
      </nav>
      <nav class="masthead__row masthead__row--shop" aria-label="Shop sections">
        <div class="masthead__group masthead__group--bold">
          <a class="masthead__link" href="#">All products</a>
          <a class="masthead__link" href="#">Categories</a>
          <a class="masthead__link" href="#">Publishers</a>
          <a class="masthead__link" href="#">Sale</a>
          <a class="masthead__link" href="#">Search</a>
        </div>
        <div class="masthead__group">
          <a class="masthead__link" href="#">Log in</a>
          <a class="masthead__cart" href="#">Cart ( 0 )</a>
        </div>
      </nav>
    </div>
  </div>
</header>

<style>
  .masthead {
    background: var(--paper);
    color: var(--red);
  }
  .masthead a {
    color: inherit;
    text-decoration: none;
  }
  .masthead__frame {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    padding: var(--space-xl) var(--gutter) var(--space-l);
  }
  .masthead__logo {
    display: block;
    width: clamp(5.5rem, 7.6vw, 6.875rem);
    align-self: start;
  }
  .masthead__mark {
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .masthead__word {
    fill: var(--red);
    font-family: var(--font-mark);
    font-size: 31px;
    font-weight: 500;
    letter-spacing: -0.01em;
  }
  .masthead__line {
    fill: none;
    stroke: var(--red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .masthead__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: var(--space-l);
  }
  .masthead__row--info {
    border-bottom: var(--rule) solid var(--red);
  }
  .masthead__row--shop {
    margin-top: var(--space-s);
  }
  .masthead__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: clamp(0.75rem, 1.4vw, 1.25rem);
  }
  .masthead__group--bold {
    font-weight: 700;
    letter-spacing: var(--tracking-bold);
  }
  .masthead__link {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    min-width: var(--tap);
    text-underline-offset: 3px;
  }
  .masthead__link:hover,
  .masthead__link:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: var(--rule);
  }

  .masthead__cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--tap);
    padding: 0 var(--space-m) 0 1.25rem;
    border: var(--rule) solid var(--red);
    background: var(--red);
    color: var(--paper) !important;
    font-weight: 700;
    letter-spacing: var(--tracking-bold);
    white-space: pre;
    transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .masthead__cart:hover,
  .masthead__cart:focus-visible {
    background: var(--paper);
    color: var(--red) !important;
  }
  .masthead a:focus-visible,
  .masthead button:focus-visible {
    outline: var(--rule) solid var(--red);
    outline-offset: 2px;
  }

  /* Phone bar and its menu panel. Hidden from tablet up. */
  .masthead__bar,
  .masthead__panel {
    display: none;
  }

  @media (max-width: 47.99rem) {
    .masthead__bar {
      display: flex;
      align-items: stretch;
      border-bottom: var(--rule) solid var(--red);
    }
    .masthead__menu {
      display: inline-flex;
      align-items: center;
      gap: var(--space-s);
      min-height: var(--tap);
      margin-right: auto;
      padding: 0 1.5rem 0 var(--gutter);
      border: 0;
      border-right: var(--rule) solid var(--red);
      background: none;
      color: var(--red);
      font: inherit;
      letter-spacing: inherit;
      cursor: pointer;
    }
    .masthead__burger {
      position: relative;
      width: 15px;
      height: 9px;
      border-block: var(--rule) solid currentColor;
      transition: border-color var(--slow) var(--ease);
    }
    .masthead__burger::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 3px;
      border-top: var(--rule) solid currentColor;
      transition: transform var(--slow) var(--ease);
    }
    .masthead__burger::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 3px;
      border-top: var(--rule) solid transparent;
      transition: transform var(--slow) var(--ease), border-color var(--slow) var(--ease);
    }
    .masthead.is-open .masthead__burger {
      border-color: transparent;
    }
    .masthead.is-open .masthead__burger::after {
      transform: rotate(45deg);
    }
    .masthead.is-open .masthead__burger::before {
      border-top-color: currentColor;
      transform: rotate(-45deg);
    }
    .masthead__bar-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: var(--tap);
      min-height: var(--tap);
      padding: 0 var(--space-s);
    }
    .masthead__cart--bar {
      margin-left: var(--space-s);
      border-width: 0;
      padding-inline: var(--space-m) var(--gutter);
      font-weight: 400;
    }

    .masthead__panel {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows var(--slow) var(--ease);
    }
    .masthead.is-open .masthead__panel {
      grid-template-rows: 1fr;
    }
    .masthead__panel-inner {
      display: grid;
      overflow: hidden;
      padding-inline: var(--gutter);
      font-weight: 700;
      letter-spacing: var(--tracking-bold);
      visibility: hidden;
      transition: visibility 0s linear var(--slow);
    }
    .masthead.is-open .masthead__panel-inner {
      visibility: visible;
      transition-delay: 0s;
    }
    .masthead__panel-link {
      display: flex;
      align-items: center;
      min-height: var(--tap);
      border-bottom: var(--rule) solid var(--red);
    }

    .masthead__frame {
      grid-template-columns: auto minmax(0, 1fr);
      column-gap: var(--space-l);
      margin-inline: var(--gutter);
      padding: var(--space-l) 0 var(--space-m);
      border-bottom: var(--rule) solid var(--red);
    }
    .masthead__logo {
      width: 4.5rem;
    }
    .masthead__row--info {
      border-bottom: 0;
    }
    .masthead__row--shop {
      display: none;
    }
    .masthead__row {
      justify-content: flex-start;
    }
  }
</style>

<script>
  (() => {
    for (const root of document.querySelectorAll('.masthead')) {
      const toggle = root.querySelector('.masthead__menu');
      if (!toggle) continue;
      toggle.addEventListener('click', () => {
        const open = root.classList.toggle('is-open');
        toggle.setAttribute('aria-expanded', String(open));
      });
    }
  })();
</script>

Exhibition feature

The signature front-page block: vertical address line down the left rail, a poster printed in two inks (a public domain still life split into pink and cobalt layers, a hair out of register, shifting on hover), and red text with a regular label, bold title, dates and schedule, then running text, between hairlines.

Code React For Figma
<section class="feature">
  <p class="feature__address">
    <span class="feature__address-line">Pear Room / 3-12-4 Quince Lane, Room 2B</span>
    <span class="feature__address-line">Harbourside 104-0032, open Tue to Sun</span>
    <a class="feature__map" href="#">→ See it on a map</a>
  </p>

  <div class="feature__body">
    <figure class="feature__picture">
      <div class="feature__poster" role="img" aria-label="Poster: a fruit still life printed in two inks under falling rain">
        <p class="feature__poster-type" aria-hidden="true">Kitchen<br>Weather</p>
        <div class="feature__print" aria-hidden="true">
          <span class="feature__ink feature__ink--pink"><img src="assets/fruit-still-life.jpg" alt="" width="1000" height="750"></span>
          <span class="feature__ink feature__ink--cobalt"><img src="assets/fruit-still-life.jpg" alt="" width="1000" height="750"></span>
        </div>
        <svg class="feature__rain" viewBox="0 0 300 400" aria-hidden="true">
          <path d="M44 128 l-6 16 M78 150 l-6 16 M232 132 l-6 16 M262 168 l-6 16 M58 196 l-6 16 M248 214 l-6 16 M30 246 l-6 16 M270 262 l-6 16" />
        </svg>
      </div>
    </figure>

    <div class="feature__text">
      <p class="feature__label">Next up / Bientôt</p>
      <p class="feature__bold">
        Kitchen Weather / Rosa Lind<br>
        2027.03.04 (Thu) – 03.21 (Sun)<br>
        12:00 – 19:00<br>
        *closed on Mondays
      </p>
      <p class="feature__bold">
        03.04 (Thu) 18:00 Opening night, soup is served from the back room<br>
        03.13 (Sat) 14:00 Rosa draws your fruit bowl. Bring one pear, take home a print
      </p>
      <p class="feature__copy">Rosa Lind paints the weather inside small kitchens: steam on a window, a draught under the door, rain heard through an extractor fan. The show gathers forty gouaches, a run of two-colour prints and the first copies of her book, all hung low enough to read with a cup in hand.</p>
    </div>
  </div>
</section>

<style>
  .feature {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    padding: 0 var(--gutter);
    background: var(--paper);
    color: var(--red);
  }
  .feature__address {
    margin: 0;
    padding-top: var(--space-xs);
    justify-self: center;
    writing-mode: vertical-rl;
    line-height: var(--leading);
    white-space: nowrap;
  }
  .feature__address-line {
    display: block;
  }
  .feature__map {
    display: inline-block;
    line-height: var(--tap);
    color: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
  }
  .feature__map:hover,
  .feature__map:focus-visible {
    text-decoration: underline;
    outline: none;
  }

  .feature__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
    padding-block: var(--space-xl);
    border-top: var(--rule) solid var(--red);
  }
  .feature__picture {
    width: min(100%, 17.25rem);
    margin: 0 auto;
  }
  /* The poster is a two-ink print: a painting split into a pink and a cobalt layer, a hair out of register. */
  .feature__poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--cover-cream);
  }
  .feature__poster-type {
    position: absolute;
    inset: 9% 0 auto;
    z-index: 2;
    margin: 0;
    color: var(--cover-cobalt);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-align: center;
    mix-blend-mode: multiply;
  }
  .feature__print {
    position: absolute;
    inset: 36% 0 0;
    background: var(--cover-cream);
    isolation: isolate;
  }
  .feature__ink {
    position: absolute;
    inset: 0;
    overflow: hidden;
    mix-blend-mode: multiply;
    transition: translate 0.6s var(--ease, ease);
  }
  .feature__ink img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 26% 92%;
    scale: 1.7;
    transform-origin: 26% 92%;
    mix-blend-mode: screen;
  }
  .feature__ink--pink { background: var(--cover-pink); }
  .feature__ink--pink img { filter: grayscale(1) contrast(1.3) brightness(0.98); }
  .feature__ink--cobalt { background: var(--cover-cobalt); translate: 2px -2px; }
  .feature__ink--cobalt img { filter: grayscale(1) contrast(2.2) brightness(1.3); }
  .feature__picture:hover .feature__ink--cobalt { translate: -3px 3px; }
  .feature__rain {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--cover-cobalt);
    stroke-width: 3;
    stroke-linecap: round;
    mix-blend-mode: multiply;
  }

  .feature__text p {
    margin: 0;
  }
  .feature__text p + p {
    margin-top: var(--space-m);
  }
  .feature__label {
    padding-top: var(--space-xs);
  }
  .feature__bold {
    font-weight: 700;
    letter-spacing: var(--tracking-bold);
  }
  .feature__copy {
    max-width: 36rem;
  }

  @media (max-width: 47.99rem) {
    .feature {
      display: flex;
      flex-direction: column-reverse;
    }
    .feature__body {
      grid-template-columns: minmax(0, 1fr);
      row-gap: var(--space-l);
    }
    .feature__picture {
      width: min(100%, 15rem);
      margin: 0;
    }
    .feature__address {
      justify-self: auto;
      padding: var(--space-m) 0 var(--space-l);
      border-top: var(--rule) solid var(--red);
      writing-mode: horizontal-tb;
      white-space: normal;
    }
  }
</style>

News entry

News items as picture pairs on the left and a labelled bold title with short paragraphs on the right, split by full-width hairlines.

Code React For Figma
<section class="notice">
  <svg class="notice__defs" width="0" height="0" aria-hidden="true" focusable="false">
    <defs>
      <pattern id="notice-pears" width="46" height="46" patternUnits="userSpaceOnUse" patternTransform="rotate(-8)">
        <rect class="notice__paper" width="46" height="46" />
        <path class="notice__ink" d="M14 8 C10 8 9 13 9 15 C9 18 4 20 4 26 C4 31 9 34 14 34 C19 34 24 31 24 26 C24 20 19 18 19 15 C19 13 18 8 14 8 Z M14 8 C14 6 15 4 17 3" />
        <path class="notice__ink" d="M33 30 C36 26 41 27 42 30 C39 33 36 33 33 30 Z M30 40 l3 0 M38 12 l2 2" />
      </pattern>
    </defs>
  </svg>

  <div class="notice__list">
    <article class="notice__entry">
      <div class="notice__pictures">
        <svg class="notice__picture" viewBox="0 0 300 240" role="img" aria-label="A parcel wrapped in pear-patterned paper, tied with string">
          <rect class="notice__ground" width="300" height="240" />
          <ellipse class="notice__shadow" cx="156" cy="196" rx="112" ry="14" />
          <path class="notice__wrap" d="M54 96 L216 96 L216 194 L54 194 Z" />
          <path class="notice__wrap notice__wrap--top" d="M54 96 L96 64 L254 64 L216 96 Z" />
          <path class="notice__wrap notice__wrap--side" d="M216 96 L254 64 L254 160 L216 194 Z" />
          <path class="notice__string" d="M136 96 L136 194 M54 146 L216 146 L254 112 M136 96 L176 64 M216 96 L254 64" />
          <path class="notice__string" d="M136 96 C124 80 112 84 118 92 C124 98 136 96 136 96 C148 80 162 84 156 92 C150 98 136 96 136 96" />
        </svg>
        <svg class="notice__picture" viewBox="0 0 300 240" role="img" aria-label="A sheet of the pear-patterned wrapping paper, one corner folded">
          <rect class="notice__ground" width="300" height="240" />
          <path class="notice__shadow" d="M40 40 L268 30 L276 214 L48 222 Z" />
          <path class="notice__wrap" d="M34 34 L262 24 L270 208 L42 216 Z" />
          <path class="notice__fold" d="M206 211 L270 208 L267 150 Z" />
        </svg>
      </div>
      <div class="notice__text">
        <p class="notice__label">News / Nouvelles</p>
        <h3 class="notice__title">Wrapping paper, second colour</h3>
        <p>Our house wrapping paper now comes in a cobalt run: small pears and stray leaves drawn by Mo Ferrant, printed on a soft uncoated sheet.</p>
        <p>We wrap every order for free, in the shop and by post. Leave a note at checkout and say who it is for.</p>
        <p class="notice__aside">*The paper is not sold on its own.</p>
      </div>
    </article>

    <article class="notice__entry">
      <div class="notice__pictures notice__pictures--single">
        <svg class="notice__picture" viewBox="0 0 300 240" role="img" aria-label="A short stack of stitched notebooks">
          <rect class="notice__ground" width="300" height="240" />
          <ellipse class="notice__shadow" cx="150" cy="190" rx="108" ry="12" />
          <rect class="notice__book notice__book--pink" x="56" y="158" width="190" height="26" />
          <rect class="notice__book notice__book--leaf" x="66" y="134" width="176" height="24" />
          <rect class="notice__book notice__book--cream" x="60" y="112" width="184" height="22" />
          <rect class="notice__book notice__book--lemon" x="72" y="92" width="166" height="20" />
          <path class="notice__stitch" d="M80 171 h150 M84 146 h140 M76 123 h150" />
        </svg>
      </div>
      <div class="notice__text">
        <p class="notice__label">Events / Rendez-vous</p>
        <h3 class="notice__title">Saturday stitching table</h3>
        <p>Bring scraps of paper you cannot throw away. We bring needles, thread and a pot of tea, and you leave with a notebook sewn by hand. Twelve seats, first come.</p>
      </div>
    </article>
  </div>
</section>

<style>
  .notice {
    padding: 0 var(--gutter) 0 var(--inset);
    background: var(--paper);
    color: var(--red);
  }
  .notice__defs {
    position: absolute;
    width: 0;
    height: 0;
  }
  .notice__entry {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
    padding-block: var(--space-xl);
    border-top: var(--rule) solid var(--red);
  }
  .notice__pictures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .notice__pictures--single {
    grid-template-columns: minmax(0, 1fr);
    width: 50%;
  }
  .notice__picture {
    width: 100%;
    height: auto;
  }
  .notice__ground { fill: var(--ground); }
  .notice__shadow { fill: var(--ground-shade); }
  .notice__paper { fill: var(--cover-cream); }
  .notice__ink {
    fill: none;
    stroke: var(--cover-cobalt);
    stroke-width: 1.6;
    stroke-linecap: round;
  }
  .notice__wrap { fill: url(#notice-pears); }
  .notice__wrap--top { filter: brightness(1.04); }
  .notice__wrap--side { filter: brightness(0.86); }
  .notice__fold { fill: var(--paper); }
  .notice__string {
    fill: none;
    stroke: var(--cover-navy);
    stroke-width: 2;
  }
  .notice__book { stroke: var(--ground-shade); }
  .notice__book--pink { fill: var(--cover-pink); }
  .notice__book--leaf { fill: var(--cover-leaf); }
  .notice__book--cream { fill: var(--cover-cream); }
  .notice__book--lemon { fill: var(--cover-lemon); }
  .notice__stitch {
    fill: none;
    stroke: var(--cover-navy);
    stroke-width: 1.2;
    stroke-dasharray: 5 4;
  }

  .notice__text > * {
    margin: 0;
  }
  .notice__text > * + * {
    margin-top: var(--space-m);
  }
  .notice__label {
    padding-top: var(--space-xs);
  }
  .notice__title {
    font-size: var(--text);
    font-weight: 700;
    letter-spacing: var(--tracking-bold);
    line-height: var(--leading);
  }
  .notice__text p:not(.notice__label) {
    max-width: 36rem;
  }
  .notice__text > .notice__aside {
    margin-top: var(--space-l);
  }

  @media (max-width: 47.99rem) {
    .notice__entry {
      grid-template-columns: minmax(0, 1fr);
      row-gap: var(--space-l);
    }
    .notice__pictures--single {
      width: 100%;
    }
  }
</style>

Product grid

Four columns of drawn books, totes, prints and boxes on pale grounds, bold two-line captions and prices, outlined out-of-stock labels, hover zoom and reveal on view.

Code React For Figma
<section class="shelf">
  <svg class="shelf__defs" width="0" height="0" aria-hidden="true" focusable="false">
    <defs>
      <pattern id="shelf-peg" width="20" height="20" patternUnits="userSpaceOnUse">
        <rect class="shelf__peg" width="20" height="20" />
        <circle class="shelf__peg-hole" cx="10" cy="10" r="2" />
      </pattern>
      <symbol id="shelf-onion" viewBox="0 0 40 40">
        <path d="M20 4 C21 10 30 14 31 24 C32 32 26 37 20 37 C14 37 8 32 9 24 C10 14 19 10 20 4 Z" />
      </symbol>
    </defs>
  </svg>

  <h2 class="shelf__heading">Picks / Coups de cœur</h2>

  <ul class="shelf__grid">
    <li class="shelf__item">
      <a class="shelf__card" href="#">
        <span class="shelf__frame">
          <svg class="shelf__picture" viewBox="0 0 300 400" role="img" aria-label="Mustard cookbook standing on the ground">
            <rect class="shelf__ground" width="300" height="400" />
            <ellipse class="shelf__shadow" cx="158" cy="314" rx="92" ry="10" />
            <rect class="shelf__fill-mustard" x="76" y="74" width="150" height="234" />
            <rect class="shelf__spine-shade" x="76" y="74" width="9" height="234" />
            <text class="shelf__cover-type shelf__cover-type--navy" x="102" y="124">SOUP</text>
            <text class="shelf__cover-type shelf__cover-type--navy" x="102" y="152">FOR WET</text>
            <text class="shelf__cover-type shelf__cover-type--navy" x="102" y="180">WEEKS</text>
            <path class="shelf__line-navy" d="M118 238 C118 262 184 262 184 238 Z M112 238 h78 M140 228 c-4 -8 4 -12 0 -20 M158 228 c-4 -8 4 -12 0 -20" />
            <text class="shelf__cover-small" x="102" y="290">Ida Marlow</text>
          </svg>
        </span>
        <span class="shelf__name">Soup for Wet Weeks / Ida Marlow</span>
        <span class="shelf__price">€32.00</span>
      </a>
    </li>

    <li class="shelf__item">
      <a class="shelf__card" href="#">
        <span class="shelf__frame">
          <svg class="shelf__picture" viewBox="0 0 300 400" role="img" aria-label="Cream tote bag hanging on a pegboard">
            <rect class="shelf__pegboard" width="300" height="400" />
            <path class="shelf__hook" d="M150 52 v14 c0 8 -10 8 -10 2" />
            <path class="shelf__handle" d="M108 170 C108 100 128 64 150 64 C172 64 192 100 192 170" />
            <rect class="shelf__fill-cream" x="74" y="160" width="152" height="196" />
            <path class="shelf__line-navy" d="M150 214 C140 214 138 226 138 232 C138 240 126 246 126 264 C126 280 138 290 150 290 C162 290 174 280 174 264 C174 246 162 240 162 232 C162 226 160 214 150 214 Z M150 214 c0 -6 2 -10 6 -12 M154 206 c6 -6 14 -4 16 -2 c-6 4 -12 4 -16 2 Z" />
            <text class="shelf__cover-small shelf__cover-small--center" x="150" y="326">pear room · 2027</text>
          </svg>
        </span>
        <span class="shelf__name">Pear Room Tote 2027 / Mo Ferrant</span>
        <span class="shelf__price">€18.00</span>
      </a>
    </li>

    <li class="shelf__item">
      <a class="shelf__card" href="#">
        <span class="shelf__frame">
          <svg class="shelf__picture" viewBox="0 0 300 400" role="img" aria-label="Print of twelve onions in three colours">
            <rect class="shelf__ground" width="300" height="400" />
            <g transform="rotate(-2 150 200)">
              <rect class="shelf__shadow" x="64" y="68" width="182" height="256" />
              <rect class="shelf__fill-cream" x="58" y="62" width="182" height="256" />
              <g class="shelf__onions">
                <use href="#shelf-onion" class="shelf__onion-pink" x="80" y="88" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-mustard" x="129" y="88" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-leaf" x="178" y="88" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-leaf" x="80" y="140" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-pink" x="129" y="140" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-mustard" x="178" y="140" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-mustard" x="80" y="192" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-leaf" x="129" y="192" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-pink" x="178" y="192" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-pink" x="80" y="244" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-mustard" x="129" y="244" width="40" height="40" />
                <use href="#shelf-onion" class="shelf__onion-leaf" x="178" y="244" width="40" height="40" />
              </g>
            </g>
          </svg>
        </span>
        <span class="shelf__name">Twelve Onions, print / Kaz Odell</span>
        <span class="shelf__price">€45.00</span>
      </a>
    </li>

    <li class="shelf__item">
      <a class="shelf__card" href="#">
        <span class="shelf__frame">
          <svg class="shelf__picture" viewBox="0 0 300 400" role="img" aria-label="Wall calendar with a pink picture of a jam jar">
            <rect class="shelf__ground" width="300" height="400" />
            <rect class="shelf__shadow" x="72" y="66" width="168" height="258" />
            <rect class="shelf__fill-cream" x="66" y="60" width="168" height="258" />
            <path class="shelf__spiral" d="M84 60 v10 M96 60 v10 M108 60 v10 M120 60 v10 M132 60 v10 M168 60 v10 M180 60 v10 M192 60 v10 M204 60 v10 M216 60 v10" />
            <rect class="shelf__fill-pink" x="84" y="86" width="132" height="132" />
            <path class="shelf__fill-cream" d="M126 130 h48 v8 h-4 v52 c0 6 -4 10 -10 10 h-20 c-6 0 -10 -4 -10 -10 v-52 h-4 Z" />
            <rect class="shelf__fill-mustard" x="134" y="156" width="32" height="34" />
            <text class="shelf__cover-type shelf__cover-type--navy" x="84" y="250">Jam</text>
            <text class="shelf__cover-small" x="84" y="270">Calendar 2028</text>
            <path class="shelf__grid-lines" d="M84 284 h132 M84 296 h132 M84 308 h132" />
          </svg>
        </span>
        <span class="shelf__name">Jam Calendar 2028 / Ruth Abara</span>
        <span class="shelf__price">€22.00</span>
      </a>
    </li>

    <li class="shelf__item">
      <a class="shelf__card" href="#">
        <span class="shelf__frame">
          <svg class="shelf__picture" viewBox="0 0 300 400" role="img" aria-label="White box of seed postcards with a fluorescent green label">
            <rect class="shelf__ground" width="300" height="400" />
            <ellipse class="shelf__shadow" cx="154" cy="270" rx="86" ry="10" />
            <path class="shelf__fill-paper" d="M76 160 L196 160 L196 268 L76 268 Z" />
            <path class="shelf__box-top" d="M76 160 L106 136 L226 136 L196 160 Z" />
            <path class="shelf__box-side" d="M196 160 L226 136 L226 244 L196 268 Z" />
            <rect class="shelf__fill-neon" x="90" y="186" width="92" height="44" />
            <text class="shelf__cover-small" x="98" y="204">seed</text>
            <text class="shelf__cover-small" x="98" y="222">postcards</text>
          </svg>
          <span class="shelf__stock">Out of stock</span>
        </span>
        <span class="shelf__name">Seed Postcards, box of 20</span>
        <span class="shelf__price">€14.00</span>
      </a>
    </li>

    <li class="shelf__item">
      <a class="shelf__card" href="#">
        <span class="shelf__frame">
          <svg class="shelf__picture" viewBox="0 0 300 400" role="img" aria-label="Lemon yellow zine with big navy type">
            <rect class="shelf__ground" width="300" height="400" />
            <rect class="shelf__shadow" x="80" y="84" width="152" height="216" />
            <rect class="shelf__fill-lemon" x="72" y="76" width="152" height="216" />
            <text class="shelf__cover-big" x="82" y="128">DO</text>
            <text class="shelf__cover-big" x="82" y="168">NOT</text>
            <text class="shelf__cover-big" x="82" y="208">KNEAD</text>
            <text class="shelf__cover-small" x="84" y="276">no. 4 · bread week</text>
          </svg>
          <span class="shelf__stock">Out of stock</span>
        </span>
        <span class="shelf__name">Do Not Knead #4 / Hal Briggs</span>
        <span class="shelf__price">€9.00</span>
      </a>
    </li>

    <li class="shelf__item">
      <a class="shelf__card" href="#">
        <span class="shelf__frame">
          <svg class="shelf__picture" viewBox="0 0 300 400" role="img" aria-label="Folded tea towel with cobalt stripes">
            <rect class="shelf__ground" width="300" height="400" />
            <rect class="shelf__shadow" x="70" y="104" width="172" height="204" />
            <rect class="shelf__fill-cream" x="64" y="98" width="172" height="204" />
            <path class="shelf__stripe" d="M64 122 h172 M64 132 h172 M64 268 h172 M64 278 h172" />
            <path class="shelf__line-cobalt" d="M150 166 C142 166 140 175 140 180 C140 186 130 190 130 204 C130 216 140 224 150 224 C160 224 170 216 170 204 C170 190 160 186 160 180 C160 175 158 166 150 166 Z M110 196 l-6 14 M196 176 l-6 14 M118 240 l-6 14 M188 228 l-6 14" />
            <path class="shelf__fold-line" d="M150 98 v204" />
          </svg>
        </span>
        <span class="shelf__name">Weather Tea Towel / Mo Ferrant</span>
        <span class="shelf__price">€21.00</span>
      </a>
    </li>

    <li class="shelf__item">
      <a class="shelf__card" href="#">
        <span class="shelf__frame">
          <svg class="shelf__picture" viewBox="0 0 300 400" role="img" aria-label="Green almanac with a pink sun on the cover">
            <rect class="shelf__ground" width="300" height="400" />
            <ellipse class="shelf__shadow" cx="154" cy="318" rx="88" ry="10" />
            <rect class="shelf__fill-leaf" x="80" y="70" width="144" height="242" />
            <circle class="shelf__fill-pink" cx="152" cy="168" r="44" />
            <path class="shelf__line-paper" d="M96 236 h112 M96 246 h112 M96 256 h80" />
            <text class="shelf__cover-small shelf__cover-small--paper" x="96" y="294">Green Shelf Almanac</text>
          </svg>
        </span>
        <span class="shelf__name">Green Shelf Almanac / Tove Haas</span>
        <span class="shelf__price">€38.00</span>
      </a>
    </li>
  </ul>
</section>

<style>
  .shelf {
    padding: 0 var(--gutter) var(--space-xl) var(--inset);
    background: var(--paper);
    color: var(--red);
  }
  .shelf__defs {
    position: absolute;
    width: 0;
    height: 0;
  }
  .shelf__heading {
    margin: 0;
    padding: var(--space-xl) 0 var(--space-l);
    border-top: var(--rule) solid var(--red);
    font-size: var(--text);
    font-weight: 700;
    letter-spacing: var(--tracking-bold);
    line-height: var(--leading);
  }
  .shelf__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap-row) var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .shelf__card {
    display: grid;
    align-content: start;
    gap: var(--space-xs);
    color: inherit;
    text-decoration: none;
  }
  .shelf__card:focus-visible {
    outline: var(--rule) solid var(--red);
    outline-offset: 4px;
  }
  .shelf__frame {
    position: relative;
    display: block;
    margin-bottom: var(--space-m);
    overflow: hidden;
    background: var(--ground);
  }
  .shelf__picture {
    width: 100%;
    height: auto;
    transition: transform var(--slow) var(--ease);
  }
  .shelf__card:hover .shelf__picture,
  .shelf__card:focus-visible .shelf__picture {
    transform: scale(1.04);
  }
  .shelf__stock {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    padding: 0.3em 1em;
    border: var(--rule) solid var(--red);
    background: var(--paper);
    font-size: var(--text-tiny);
    line-height: var(--leading-tight);
    white-space: nowrap;
  }
  .shelf__name {
    font-weight: 700;
    letter-spacing: var(--tracking-bold);
    line-height: var(--leading-tight);
  }
  .shelf__card:hover .shelf__name {
    text-decoration: underline;
    text-decoration-thickness: var(--rule);
    text-underline-offset: 3px;
  }

  /* Drawn product pictures */
  .shelf__ground { fill: var(--ground); }
  .shelf__shadow { fill: var(--ground-shade); }
  .shelf__peg { fill: var(--peg); }
  .shelf__peg-hole { fill: var(--peg-hole); }
  .shelf__pegboard { fill: url(#shelf-peg); }
  .shelf__hook,
  .shelf__handle {
    fill: none;
    stroke-linecap: round;
  }
  .shelf__hook {
    stroke: var(--cover-navy);
    stroke-width: 3;
  }
  .shelf__handle {
    stroke: var(--cover-cream);
    stroke-width: 9;
  }
  .shelf__fill-cream { fill: var(--cover-cream); }
  .shelf__fill-paper { fill: var(--paper); }
  .shelf__fill-mustard { fill: var(--cover-mustard); }
  .shelf__fill-pink { fill: var(--cover-pink); }
  .shelf__fill-leaf { fill: var(--cover-leaf); }
  .shelf__fill-lemon { fill: var(--cover-lemon); }
  .shelf__fill-neon { fill: var(--cover-neon); }
  .shelf__spine-shade { fill: var(--cover-navy); opacity: 0.12; }
  .shelf__box-top { fill: var(--paper); filter: brightness(0.97); }
  .shelf__box-side { fill: var(--ground-shade); }
  .shelf__onion-pink { fill: var(--cover-pink); }
  .shelf__onion-mustard { fill: var(--cover-mustard); }
  .shelf__onion-leaf { fill: var(--cover-leaf); }
  .shelf__line-navy,
  .shelf__line-cobalt,
  .shelf__line-paper,
  .shelf__spiral,
  .shelf__grid-lines,
  .shelf__stripe,
  .shelf__fold-line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .shelf__line-navy { stroke: var(--cover-navy); stroke-width: 3; }
  .shelf__line-cobalt { stroke: var(--cover-cobalt); stroke-width: 3; }
  .shelf__line-paper { stroke: var(--cover-cream); stroke-width: 3; }
  .shelf__spiral { stroke: var(--cover-navy); stroke-width: 3; }
  .shelf__grid-lines { stroke: var(--cover-navy); stroke-width: 1; opacity: 0.4; }
  .shelf__stripe { stroke: var(--cover-cobalt); stroke-width: 5; stroke-linecap: butt; }
  .shelf__fold-line { stroke: var(--ground-shade); stroke-width: 2; }
  .shelf__cover-type,
  .shelf__cover-big,
  .shelf__cover-small {
    font-family: var(--font-text);
  }
  .shelf__cover-type {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .shelf__cover-type--navy,
  .shelf__cover-big,
  .shelf__cover-small {
    fill: var(--cover-navy);
  }
  .shelf__cover-big {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.04em;
  }
  .shelf__cover-small {
    font-size: 13px;
  }
  .shelf__cover-small--center {
    text-anchor: middle;
  }
  .shelf__cover-small--paper {
    fill: var(--cover-cream);
  }

  /* Reveal on view: cards in view at load show at once. */
  .shelf__item {
    opacity: 0;
    translate: 0 16px;
    transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
    transition-delay: calc(var(--order, 0) * 80ms);
  }
  .shelf.is-seen .shelf__item {
    opacity: 1;
    translate: 0 0;
  }

  @media (max-width: 59.99rem) {
    .shelf__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  @media (max-width: 47.99rem) {
    .shelf__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .shelf__item {
      opacity: 1;
      translate: none;
      transition: none;
    }
    .shelf__picture {
      transition: 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('.shelf')) {
      root.querySelectorAll('.shelf__item').forEach((item, order) => item.style.setProperty('--order', order));
      seen.observe(root);
    }
  })();
</script>

Product page

Large picture with thumbnail switcher, bold title and price, a hairline spec table, an outlined quantity stepper and the filled red add-to-cart button that counts up.

Code React For Figma
<section class="product">
  <div class="product__body">
    <div class="product__gallery">
      <div class="product__stage">
        <svg class="product__view is-active" viewBox="0 0 400 400" role="img" aria-label="Front cover: mustard with a steaming bowl">
          <rect class="product__ground" width="400" height="400" />
          <ellipse class="product__shadow" cx="206" cy="348" rx="110" ry="11" />
          <rect class="product__fill-mustard" x="116" y="58" width="172" height="284" />
          <rect class="product__spine-shade" x="116" y="58" width="10" height="284" />
          <text class="product__cover-type" x="146" y="118">SOUP</text>
          <text class="product__cover-type" x="146" y="150">FOR WET</text>
          <text class="product__cover-type" x="146" y="182">WEEKS</text>
          <path class="product__line" d="M164 262 C164 292 240 292 240 262 Z M156 262 h92 M188 250 c-5 -10 5 -14 0 -24 M210 250 c-5 -10 5 -14 0 -24" />
          <text class="product__cover-small" x="146" y="322">Ida Marlow</text>
        </svg>
        <svg class="product__view" viewBox="0 0 400 400" role="img" aria-label="Back cover: blurb and barcode">
          <rect class="product__ground" width="400" height="400" />
          <ellipse class="product__shadow" cx="206" cy="348" rx="110" ry="11" />
          <rect class="product__fill-mustard" x="116" y="58" width="172" height="284" />
          <rect class="product__spine-shade" x="278" y="58" width="10" height="284" />
          <path class="product__text-lines" d="M140 96 h124 M140 110 h124 M140 124 h110 M140 138 h124 M140 152 h80 M140 178 h124 M140 192 h96" />
          <rect class="product__fill-paper" x="140" y="276" width="70" height="44" />
          <path class="product__barcode" d="M146 282 v26 M150 282 v26 M155 282 v26 M158 282 v26 M163 282 v26 M168 282 v26 M171 282 v26 M176 282 v26 M181 282 v26 M184 282 v26 M189 282 v26 M194 282 v26 M198 282 v26 M203 282 v26" />
        </svg>
        <svg class="product__view" viewBox="0 0 400 400" role="img" aria-label="Open spread: a recipe beside a drawing of a pot">
          <rect class="product__ground" width="400" height="400" />
          <ellipse class="product__shadow" cx="200" cy="312" rx="168" ry="12" />
          <path class="product__fill-cream" d="M200 104 C170 92 90 90 40 100 L40 300 C90 290 170 292 200 304 Z" />
          <path class="product__fill-cream" d="M200 104 C230 92 310 90 360 100 L360 300 C310 290 230 292 200 304 Z" />
          <path class="product__gutter" d="M200 104 V304" />
          <text class="product__cover-small" x="62" y="134">Leek and barley, Tuesday</text>
          <path class="product__text-lines" d="M62 156 h112 M62 170 h112 M62 184 h96 M62 206 h112 M62 220 h112 M62 234 h70 M62 256 h112 M62 270 h88" />
          <circle class="product__fill-mustard" cx="280" cy="200" r="54" />
          <path class="product__line" d="M244 206 C244 244 316 244 316 206 Z M236 206 h88 M268 194 c-5 -10 5 -14 0 -24 M290 194 c-5 -10 5 -14 0 -24" />
        </svg>
      </div>
      <div class="product__thumbs" role="group" aria-label="Pictures">
        <button class="product__thumb product__thumb--front is-active" type="button" aria-pressed="true" aria-label="Front cover"></button>
        <button class="product__thumb product__thumb--back" type="button" aria-pressed="false" aria-label="Back cover"></button>
        <button class="product__thumb product__thumb--spread" type="button" aria-pressed="false" aria-label="Open spread"></button>
      </div>
    </div>

    <div class="product__info">
      <p class="product__label">Books / Cookery</p>
      <h2 class="product__title">Soup for Wet Weeks / Ida Marlow</h2>
      <p class="product__price">€32.00 <span class="product__tax">tax included</span></p>
      <p class="product__copy">Fifty-two soups, one for every week of a rainy year, written by a cook who keeps a pot on all winter. Stitched binding that lies flat beside the stove, two colours throughout.</p>

      <dl class="product__specs">
        <div class="product__spec"><dt>Publisher</dt><dd>Low Tide Press</dd></div>
        <div class="product__spec"><dt>Year</dt><dd>2027</dd></div>
        <div class="product__spec"><dt>Pages</dt><dd>192, stitched</dd></div>
        <div class="product__spec"><dt>Size</dt><dd>170 × 240 mm</dd></div>
        <div class="product__spec"><dt>Language</dt><dd>English</dd></div>
      </dl>

      <div class="product__buy">
        <div class="product__stepper" role="group" aria-label="Quantity">
          <button class="product__step" type="button" data-step="-1" aria-label="One less">−</button>
          <output class="product__qty" aria-live="polite">1</output>
          <button class="product__step" type="button" data-step="1" aria-label="One more">+</button>
        </div>
        <button class="product__add" type="button">Add to cart</button>
      </div>
      <p class="product__status" aria-live="polite">In your cart: <span class="product__count">0</span></p>
      <p class="product__note">*Wrapped for free. Ships in 3 to 5 days.</p>
    </div>
  </div>
</section>

<style>
  .product {
    padding: 0 var(--gutter) 0 var(--inset);
    background: var(--paper);
    color: var(--red);
  }
  .product__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gap);
    padding-block: var(--space-xl);
    border-top: var(--rule) solid var(--red);
  }
  .product__gallery {
    width: min(100%, 30rem);
  }
  .product__stage {
    display: grid;
    overflow: hidden;
    background: var(--ground);
  }
  .product__view {
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity var(--slow) var(--ease);
  }
  .product__view.is-active {
    opacity: 1;
  }
  .product__thumbs {
    display: flex;
    gap: var(--space-s);
    margin-top: var(--space-s);
  }
  .product__thumb {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    border: var(--rule) solid transparent;
    background: var(--ground);
    cursor: pointer;
  }
  .product__thumb::before {
    content: "";
    position: absolute;
    inset: 18% 30%;
    background: var(--cover-mustard);
  }
  .product__thumb--spread::before {
    inset: 30% 12%;
    background: linear-gradient(90deg, var(--cover-cream) 49%, var(--ground-shade) 49% 51%, var(--cover-cream) 51%);
  }
  .product__thumb--back::after {
    content: "";
    position: absolute;
    left: 36%;
    bottom: 26%;
    width: 16%;
    height: 10%;
    background: var(--paper);
  }
  .product__thumb.is-active,
  .product__thumb:hover,
  .product__thumb:focus-visible {
    border-color: var(--red);
    outline: none;
  }

  .product__info > * {
    margin: 0;
  }
  .product__info > * + * {
    margin-top: var(--space-m);
  }
  .product__label {
    padding-top: var(--space-xs);
  }
  .product__title,
  .product__price {
    font-size: var(--text);
    font-weight: 700;
    letter-spacing: var(--tracking-bold);
    line-height: var(--leading-tight);
  }
  .product__info .product__price {
    margin-top: var(--space-xs);
  }
  .product__tax {
    font-weight: 400;
    letter-spacing: var(--tracking);
  }
  .product__copy {
    max-width: 34rem;
  }

  .product__specs {
    border-bottom: var(--rule) solid var(--red);
  }
  .product__spec {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: var(--space-m);
    padding-block: var(--space-xs);
    border-top: var(--rule) solid var(--red);
  }
  .product__spec dd {
    margin: 0;
  }

  .product__info .product__buy {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    margin-top: var(--space-l);
  }
  .product__stepper {
    display: flex;
    border: var(--rule) solid var(--red);
  }
  .product__step,
  .product__add {
    min-width: var(--tap);
    min-height: var(--tap);
    border: 0;
    border-radius: var(--radius);
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer;
  }
  .product__step {
    background: none;
    color: var(--red);
  }
  .product__step:hover,
  .product__step:focus-visible {
    background: var(--red);
    color: var(--paper);
    outline: none;
  }
  .product__qty {
    display: grid;
    place-items: center;
    min-width: 2.5rem;
    border-inline: var(--rule) solid var(--red);
  }
  .product__add {
    flex: 1 1 10rem;
    max-width: 16rem;
    border: var(--rule) solid var(--red);
    background: var(--red);
    color: var(--paper);
    font-weight: 700;
    letter-spacing: var(--tracking-bold);
    transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .product__add:hover,
  .product__add:focus-visible,
  .product__add.is-added {
    background: var(--paper);
    color: var(--red);
    outline: none;
  }
  .product__info .product__status {
    margin-top: var(--space-s);
  }
  .product__count {
    display: inline-block;
    font-weight: 700;
  }
  .product__count.is-bumped {
    animation: product-bump var(--slow) var(--ease);
  }
  @keyframes product-bump {
    30% { transform: translateY(-4px); }
  }

  /* Drawn book */
  .product__ground { fill: var(--ground); }
  .product__shadow { fill: var(--ground-shade); }
  .product__fill-mustard { fill: var(--cover-mustard); }
  .product__fill-cream { fill: var(--cover-cream); }
  .product__fill-paper { fill: var(--paper); }
  .product__spine-shade { fill: var(--cover-navy); opacity: 0.12; }
  .product__line,
  .product__text-lines,
  .product__barcode,
  .product__gutter {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .product__line { stroke: var(--cover-navy); stroke-width: 3; }
  .product__text-lines { stroke: var(--cover-navy); stroke-width: 2; opacity: 0.55; }
  .product__barcode { stroke: var(--cover-navy); stroke-width: 2; stroke-linecap: butt; }
  .product__gutter { stroke: var(--ground-shade); stroke-width: 2; }
  .product__cover-type,
  .product__cover-small {
    fill: var(--cover-navy);
    font-family: var(--font-text);
  }
  .product__cover-type {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .product__cover-small {
    font-size: 14px;
  }

  @media (max-width: 47.99rem) {
    .product__body {
      grid-template-columns: minmax(0, 1fr);
      row-gap: var(--space-l);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .product__view {
      transition: none;
    }
    .product__count.is-bumped {
      animation: none;
    }
  }
</style>

<script>
  (() => {
    const FLASH_MS = 600;
    for (const root of document.querySelectorAll('.product')) {
      const views = [...root.querySelectorAll('.product__view')];
      const thumbs = [...root.querySelectorAll('.product__thumb')];
      const qty = root.querySelector('.product__qty');
      const add = root.querySelector('.product__add');
      const count = root.querySelector('.product__count');
      let inCart = 0;

      thumbs.forEach((thumb, index) => {
        thumb.addEventListener('click', () => {
          thumbs.forEach((other, i) => {
            other.classList.toggle('is-active', i === index);
            other.setAttribute('aria-pressed', String(i === index));
          });
          views.forEach((view, i) => view.classList.toggle('is-active', i === index));
        });
      });

      root.querySelectorAll('.product__step').forEach((step) => {
        step.addEventListener('click', () => {
          const next = Number(qty.textContent) + Number(step.dataset.step);
          qty.textContent = String(Math.min(9, Math.max(1, next)));
        });
      });

      add.addEventListener('click', () => {
        inCart += Number(qty.textContent);
        count.textContent = String(inCart);
        add.textContent = 'Added';
        add.classList.add('is-added');
        count.classList.remove('is-bumped');
        void count.offsetWidth;
        count.classList.add('is-bumped');
        setTimeout(() => {
          add.textContent = 'Add to cart';
          add.classList.remove('is-added');
        }, FLASH_MS * 2);
      });
    }
  })();
</script>

Style

  • --red #db0000
  • --paper #ffffff
  • --ground #dde4ea
  • --ground-shade #c6d0d9
  • --peg #d9b98c
  • --peg-hole #8a6a43
  • --cover-cream #f3eee2
  • --cover-mustard #e2a82e
  • --cover-pink #eba3ae
  • --cover-leaf #3d8a52
  • --cover-lemon #f1df47
  • --cover-neon #8af25d
  • --cover-navy #1f2b5c
  • --cover-cobalt #2a4bd6

Type

  • Public Sans for every word on the page, regular and bold at 14 px, stands in for the site's plain American grotesk, set at one small size in two weights
  • Caveat for the wordmark inside the logo drawing, stands in for the shop's hand-lettered, single-line wordmark

Motion

  • Product pictures scale up 4 percent inside their frame on hover over 0.6 s ease, the site's only transition.
  • Product cards fade up a beat apart when they enter the screen; cards already in view show at load.
  • On phones the menu panel drops open under the bar over 0.6 s ease and the Menu lines turn into a cross.
  • Add to cart flips the red button to white for a moment and raises the count in its label.

Rules

  • One red (#db0000) for every word, rule, outline and drawing on white; the footer flips to solid red with white.
  • One type size, 14 px, in regular and bold only; hierarchy comes from weight, position and rules, never size.
  • Headings are bilingual-style pairs in small regular type ("Next up / Soon") above a bold title.
  • Hairline red rules run the full content width between sections and under the first header row.
  • A left rail holds the line-drawn logo and a line of address text set vertically down the page edge.
  • Products sit in four columns, each object shot on a pale grey-blue ground, with a bold two-line caption and a regular price.
  • Sold-out items get a tiny outlined white label laid over the middle of the picture, not a greyed card.
  • The only filled element above the footer is the red cart button; no corner is ever rounded.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500&family=Public+Sans:wght@400;700&display=swap");

:root {
  /* One token per line, with its role in a comment. Every color, font, radius, spacing step and timing a part uses lives here. */
  --red: #db0000; /* the one ink: text, rules, line drawings, the cart button, the footer flood */
  --paper: #ffffff; /* page background, text and drawings on the red footer */
  --ground: #dde4ea; /* pale grey-blue ground every product is shot on */
  --ground-shade: #c6d0d9; /* soft shadow an object casts on the ground */
  --peg: #d9b98c; /* pegboard a tote hangs on */
  --peg-hole: #8a6a43; /* holes in the pegboard */
  --cover-cream: #f3eee2; /* uncoated paper, tote cloth, calendar sheets */
  --cover-mustard: #e2a82e; /* cookbook cover */
  --cover-pink: #eba3ae; /* risograph pink on prints and calendars */
  --cover-leaf: #3d8a52; /* green cover, leaves */
  --cover-lemon: #f1df47; /* zine cover */
  --cover-neon: #8af25d; /* fluorescent label on a box */
  --cover-navy: #1f2b5c; /* dark cover, printed type on covers */
  --cover-cobalt: #2a4bd6; /* cobalt pattern on wrapping paper and tea towels */

  --font-text: "Public Sans", "Helvetica Neue", Arial, sans-serif; /* the one grotesk for every word on the page */
  --font-mark: "Caveat", "Comic Sans MS", cursive; /* hand-lettered wordmark inside the line-drawn logo only */
  --text: 14px; /* the one type size: links, headings, captions, prices, running text */
  --text-tiny: 11.5px; /* stock labels over pictures, the only smaller size */
  --leading: 1.667; /* running text and link rows */
  --leading-tight: 1.25; /* bold captions and stacked bold lines */
  --tracking: -0.02em; /* regular weight */
  --tracking-bold: 0.01em; /* bold weight, opened up a hair */

  --gutter: clamp(1rem, 3.5vw, 3.625rem); /* side padding of the page */
  --rail: clamp(7rem, 12vw, 10.75rem); /* left rail that holds the logo and the vertical address line, gone on phones */
  --inset: calc(var(--gutter) + var(--rail)); /* where the content column starts, past the rail */
  --gap: clamp(0.75rem, 1.5vw, 1.375rem); /* gap between grid columns */
  --gap-row: clamp(2.5rem, 4vw, 3.75rem); /* gap between rows of products */
  --space-xs: 0.25rem; /* between a caption and its price */
  --space-s: 0.5rem; /* between lines of one block */
  --space-m: 1rem; /* between blocks inside a column */
  --space-l: 2rem; /* between a heading and what follows */
  --space-xl: clamp(2.5rem, 4.2vw, 3.75rem); /* above and below a section, inside its rules */
  --tap: 44px; /* smallest height and width of anything tappable */
  --rule: 1px; /* every hairline: section rules, header rule, outlines */
  --radius: 0; /* no corner is ever rounded */

  --ease: ease; /* the site's one easing */
  --quick: 150ms; /* link and button hovers */
  --slow: 0.6s; /* picture zoom, menu panel, reveals */
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--red); font: 400 var(--text)/var(--leading) var(--font-text); letter-spacing: var(--tracking); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }

@media (max-width: 47.99rem) {
  :root { --rail: 0px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

For your agent

Use the kitbash MCP server at https://kitbash.me/mcp. Call get_pack("red-pen-shop"), then get_component for the parts you need, and build my site in that style: keep its tokens and rules, replace the placeholder copy with mine.
How to connect