kitbash Sign in Connect agent
Components

Shelf rack

The signature: a wrapping flow of 160 px thumbnails at natural height with name and price below; sold pieces fade to half with a struck price.

Part of the style

Bare Serif Rack

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=Inter:opsz,wght@14..32,400..700&family=Fraunces:ital,opsz,wght@1,9..144,400..600&display=swap");
:root {
  --ink: #b9a9a4;
  --paper: #0f1221;
  --ink-muted: #3c3f4e;
  --photo-ground: #141726;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}
</style>

<section class="rack" aria-label="Shop">
  <ul class="rack__grid">
    <li class="rack__item is-sold">
      <a class="rack__link" href="#">
        <img class="rack__photo" src="assets/bowl-wide.jpg" alt="Pale green bowl, side view" width="800" height="600" loading="lazy">
        <span class="rack__name">Wide Tea Bowl Celadon/Ash (S)</span>
        <span class="rack__price"><s>$34</s> Sold</span>
      </a>
    </li>
    <li class="rack__item">
      <a class="rack__link" href="#">
        <img class="rack__photo" src="assets/conical-bowl.jpg" alt="Dark blue speckled bowl from above" width="800" height="777" loading="lazy">
        <span class="rack__name">Cone Bowl Night Blue/Speckle (M)</span>
        <span class="rack__price">$42</span>
      </a>
    </li>
    <li class="rack__item">
      <a class="rack__link" href="#">
        <img class="rack__photo" src="assets/ewer.jpg" alt="Square pitcher with a cane handle" width="640" height="800" loading="lazy">
        <span class="rack__name">Handled Pitcher Moss/Cream (L)</span>
        <span class="rack__price">$68</span>
      </a>
    </li>
    <li class="rack__item">
      <a class="rack__link" href="#">
        <img class="rack__photo" src="assets/flower-bowl.jpg" alt="Shallow green dish on a stand" width="800" height="760" loading="lazy">
        <span class="rack__name">Shallow Dish Jade/Carved (M)</span>
        <span class="rack__price">$38</span>
      </a>
    </li>
    <li class="rack__item is-sold">
      <a class="rack__link" href="#">
        <img class="rack__photo" src="assets/garlic-vase.jpg" alt="Tall plum-coloured bud vase" width="555" height="800" loading="lazy">
        <span class="rack__name">Bud Vase Plum/Gloss (S)</span>
        <span class="rack__price"><s>$40</s> Sold</span>
      </a>
    </li>
    <li class="rack__item">
      <a class="rack__link" href="#">
        <img class="rack__photo" src="assets/hex-vase.jpg" alt="Six-sided pale blue vase" width="800" height="779" loading="lazy">
        <span class="rack__name">Six Side Vase Ice/Matte (L)</span>
        <span class="rack__price">$56</span>
      </a>
    </li>
    <li class="rack__item">
      <a class="rack__link" href="#">
        <img class="rack__photo" src="assets/punch-pot.jpg" alt="Round painted teapot with green handles" width="800" height="539" loading="lazy">
        <span class="rack__name">Round Teapot Painted/Green (M)</span>
        <span class="rack__price">$74</span>
      </a>
    </li>
    <li class="rack__item">
      <a class="rack__link" href="#">
        <img class="rack__photo" src="assets/teapot.jpg" alt="Small white teapot with leaves" width="800" height="610" loading="lazy">
        <span class="rack__name">Small Teapot Vine/White (S)</span>
        <span class="rack__price">$58</span>
      </a>
    </li>
    <li class="rack__item">
      <a class="rack__link" href="#">
        <img class="rack__photo" src="assets/vine-vase.jpg" alt="White jar with blue brushed vines" width="634" height="800" loading="lazy">
        <span class="rack__name">Shoulder Jar Blue/White (M)</span>
        <span class="rack__price">$62</span>
      </a>
    </li>
    <li class="rack__item is-sold">
      <a class="rack__link" href="#">
        <img class="rack__photo" src="assets/hex-vase.jpg" alt="Six-sided pale blue vase" width="800" height="779" loading="lazy">
        <span class="rack__name">Six Side Vase Ice/Matte (S)</span>
        <span class="rack__price"><s>$44</s> Sold</span>
      </a>
    </li>
  </ul>
</section>

<style>
  .rack {
    padding: 0 var(--edge) var(--section-space);
  }
  .rack__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--row-gap) var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .rack__item {
    width: var(--thumb);
  }
  /* Sold is the one state: the whole item fades, the price is struck and the word follows it. */
  .rack__item.is-sold {
    opacity: var(--sold-fade);
  }
  .rack__link {
    display: block;
    color: var(--ink);
    text-decoration: none;
  }
  .rack__link:focus-visible {
    outline: var(--line) dotted var(--ink);
    outline-offset: 3px;
  }
  .rack__photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: var(--photo-ground);
    transition: opacity var(--quick) var(--ease);
  }
  .rack__link:hover .rack__photo {
    opacity: 0.85;
  }
  .rack__name,
  .rack__price {
    display: block;
    font-size: var(--text);
    line-height: var(--leading);
  }
  .rack__name {
    margin-top: var(--gap);
  }
  .rack__link:hover .rack__name,
  .rack__link:focus-visible .rack__name {
    text-decoration: underline;
    text-decoration-thickness: var(--line);
    text-underline-offset: 2px;
  }
  .rack__price s {
    text-decoration-thickness: var(--line);
  }

  @media (max-width: 30rem) {
    .rack__item {
      width: var(--thumb-phone);
    }
  }
</style>

Similar components

Stamped pieces

Stamped pieces

Grey tile rail

Grey tile rail

Object page

Object page

Product page

Product page

Product grid

Product grid

Tabbed product shelf

Tabbed product shelf

Template shelf

Template shelf

Flavour picker

Flavour picker