kitbash Sign in Connect agent
Components

Measured spec sheet

A light rounded panel with a construction drawing of the object and a monospace spec table; each row lights its dimension.

Part of the style

Cutting Mat Desk

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

Preview

Code
<section class="specs">
  <div class="specs__panel">
    <figure class="specs__figure">
      <svg class="specs__drawing" viewBox="0 0 420 420" role="img" aria-label="Measured drawing of the compass from above and from the side">
        <g class="specs__grid">
          <path d="M0 60 H420 M0 120 H420 M0 180 H420 M0 240 H420 M0 300 H420 M0 360 H420 M60 0 V420 M120 0 V420 M180 0 V420 M240 0 V420 M300 0 V420 M360 0 V420" />
        </g>
        <g class="specs__body">
          <circle cx="210" cy="170" r="120" />
          <circle cx="210" cy="170" r="96" />
          <path d="M210 90 L222 170 L210 250 L198 170 Z" />
          <rect x="90" y="340" width="240" height="40" rx="10" />
          <path d="M108 340 V326 H312 V340" />
        </g>
        <g class="specs__dim" data-dim="diameter">
          <path d="M90 30 H330 M90 22 V38 M330 22 V38" />
          <text x="210" y="20">Ø 52</text>
        </g>
        <g class="specs__dim" data-dim="depth">
          <path d="M370 326 V380 M362 326 H378 M362 380 H378" />
          <text x="384" y="357">14</text>
        </g>
        <g class="specs__dim" data-dim="dial">
          <path d="M114 170 H306" />
          <rect x="109" y="165" width="10" height="10" /><rect x="301" y="165" width="10" height="10" />
          <text x="210" y="196">Ø 42</text>
        </g>
        <g class="specs__dim" data-dim="needle">
          <path d="M210 90 V250" />
          <circle cx="210" cy="170" r="5" />
          <text x="226" y="112">38</text>
        </g>
      </svg>
      <figcaption class="specs__caption">Fig. 1 — Norrow-1, top and side, in millimetres</figcaption>
    </figure>

    <div class="specs__sheet">
      <p class="specs__kicker">Product / Norrow-1</p>
      <h2 class="specs__title">Measured twice, cut once.</h2>
      <table class="specs__table">
        <tbody>
          <tr class="specs__row is-lit" data-dim="diameter" tabindex="0"><th scope="row">Case diameter</th><td>52.0 mm</td></tr>
          <tr class="specs__row" data-dim="depth" tabindex="0"><th scope="row">Depth, lid shut</th><td>14.0 mm</td></tr>
          <tr class="specs__row" data-dim="dial" tabindex="0"><th scope="row">Dial</th><td>42.0 mm</td></tr>
          <tr class="specs__row" data-dim="needle" tabindex="0"><th scope="row">Needle, on sapphire</th><td>38.0 mm</td></tr>
          <tr class="specs__row" tabindex="0"><th scope="row">Settling time</th><td>2.0 s</td></tr>
          <tr class="specs__row" tabindex="0"><th scope="row">Weight</th><td>61 g</td></tr>
        </tbody>
      </table>
    </div>
  </div>
</section>

<style>
  .specs {
    padding: var(--section-space) var(--edge);
    background: var(--page);
  }
  .specs__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-l) var(--space-xl);
    align-items: center;
    padding: clamp(var(--space-m), 4vw, var(--space-xl));
    border-radius: var(--radius-card);
    background: var(--paper);
    color: var(--night);
  }
  .specs__figure {
    margin: 0;
  }
  .specs__drawing {
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .specs__grid path {
    fill: none;
    stroke: var(--night);
    stroke-opacity: 0.08;
    stroke-width: var(--rule);
  }
  .specs__body circle,
  .specs__body rect,
  .specs__body path {
    fill: none;
    stroke: var(--night);
    stroke-width: var(--dash);
  }
  .specs__body circle + circle {
    stroke-dasharray: 4 5;
  }
  .specs__dim path,
  .specs__dim rect,
  .specs__dim circle {
    fill: var(--paper);
    stroke: var(--night);
    stroke-opacity: 0.45;
    stroke-width: var(--rule);
    transition: stroke var(--quick) var(--ease-plain), stroke-opacity var(--quick) var(--ease-plain);
  }
  .specs__dim text {
    fill: var(--night);
    fill-opacity: 0.55;
    font-family: var(--font-mono);
    font-size: 13px;
    text-anchor: middle;
    transition: fill var(--quick) var(--ease-plain), fill-opacity var(--quick) var(--ease-plain);
  }
  .specs__dim.is-lit path,
  .specs__dim.is-lit rect,
  .specs__dim.is-lit circle {
    stroke: var(--signal);
    stroke-opacity: 1;
    stroke-width: var(--dash);
  }
  .specs__dim.is-lit text {
    fill: var(--signal);
    fill-opacity: 1;
  }
  .specs__caption,
  .specs__kicker {
    margin: var(--space-s) 0 0;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.6;
  }
  .specs__kicker { margin: 0 0 var(--space-s); }
  .specs__title {
    margin: 0 0 var(--space-l);
    font-size: var(--text-xl);
    font-weight: 500;
    line-height: 1.05;
    text-transform: uppercase;
  }
  .specs__table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: var(--text-s);
  }
  .specs__row {
    border-top: var(--rule) dotted var(--night);
    cursor: default;
    outline: none;
    transition: background-color var(--quick) var(--ease-plain);
  }
  .specs__row:last-child {
    border-bottom: var(--rule) dotted var(--night);
  }
  .specs__row th,
  .specs__row td {
    height: 44px;
    padding: 0 var(--space-s);
    font-weight: 400;
    text-align: left;
  }
  .specs__row td {
    text-align: right;
    white-space: nowrap;
  }
  .specs__row.is-lit {
    background: var(--night);
    color: var(--paper);
  }
  .specs__row.is-lit td {
    color: var(--signal);
  }

  @media (max-width: 760px) {
    .specs__panel { grid-template-columns: minmax(0, 1fr); }
    .specs__figure { max-width: 360px; justify-self: center; }
  }
</style>

<script>
  (() => {
    document.querySelectorAll('.specs').forEach((root) => {
      const rows = [...root.querySelectorAll('.specs__row')];
      const light = (row) => {
        rows.forEach((other) => other.classList.toggle('is-lit', other === row));
        const dim = row.dataset.dim;
        root.querySelectorAll('.specs__dim').forEach((group) => group.classList.toggle('is-lit', group.dataset.dim === dim));
      };
      rows.forEach((row) => {
        row.addEventListener('pointerenter', () => light(row));
        row.addEventListener('focus', () => light(row));
      });
      light(rows[0]);
    });
  })();
</script>

Similar components

Spec ledger

Spec ledger

Mono spec rail

Mono spec rail

Opening hours band

Opening hours band

Comparison table

Comparison table

A to Z index with alphabet wheel

A to Z index with alphabet wheel

Object index

Object index

Release index

Release index

List view window

List view window