kitbash Sign in Connect agent
Components

Open plate

One picture opened large on the night ground beside its number, name, pill tags and a scrolling notes box in a hairline frame, with a light copy button and a round close button.

Part of the style

Threaded Night Board

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --night: #e3d8cf;
  --night-deep: #4d443d;
  --panel: #e1d6cd;
  --panel-glass: rgba(234, 223, 214, 0.82);
  --ink: #40362b;
  --ink-soft: rgba(59, 49, 38, 0.5);
  --ink-mute: #685e53;
  --ink-faint: #ab9f95;
  --thread: rgba(59, 49, 38, 0.09);
  --line: rgba(59, 49, 38, 0.1);
  --line-strong: rgba(59, 49, 38, 0.28);
  --wash: rgba(59, 49, 38, 0.02);
  --button: #40362b;
  --button-ink: #eadfd6;
}
</style>

<section class="plate" aria-labelledby="plate-title">
  <div class="plate__glow" aria-hidden="true"></div>
  <figure class="plate__figure">
    <img class="plate__photo" src="assets/brig.jpg" alt="A single brig on open water under heavy clouds" width="800" height="634">
  </figure>

  <div class="plate__side">
    <a class="plate__close" href="#" aria-label="Close and go back to the board">
      <svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true"><path d="M3 3l10 10M13 3L3 13"/></svg>
    </a>
    <p class="plate__number">014</p>
    <h2 class="plate__title" id="plate-title">Lone Brig</h2>
    <ul class="plate__tags">
      <li class="plate__tag is-lead">Albumen print</li>
      <li class="plate__tag">#sea</li>
      <li class="plate__tag">#clouds</li>
      <li class="plate__tag">#long exposure</li>
    </ul>

    <p class="plate__label">Notes</p>
    <div class="plate__notes" tabindex="0">
      <p class="plate__text">Two negatives printed as one: the sky from a short exposure, the sea from a long one, joined along the horizon so neither burns out. The brig is the only fixed point, a black notch where the light comes off the water.</p>
      <p class="plate__text">Mounted on card, toned warm with gold, with a faint silvering at the edges where the print has met the air for a century and a half. Shown here dimmed, as it hangs in the reading room.</p>
      <p class="plate__text">Size of print 32 by 41 centimetres. Kept flat in a solander box, drawer nine, between two winter harbours.</p>
    </div>

    <div class="plate__actions">
      <button class="plate__copy" type="button">Copy notes</button>
      <span class="plate__status" role="status"></span>
    </div>
  </div>
</section>

<style>
  .plate {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 120px);
    align-items: center;
    padding: clamp(40px, 5vw, 72px) var(--edge);
    overflow: hidden;
    background: var(--night-deep);
    color: var(--ink);
    isolation: isolate;
  }
  /* A blurred echo of the board behind the open plate. */
  .plate__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(28% 34% at 18% 12%, rgba(60, 110, 120, 0.22), transparent 70%),
      radial-gradient(22% 28% at 38% 6%, rgba(160, 100, 40, 0.16), transparent 70%),
      radial-gradient(30% 30% at 88% 30%, rgba(255, 255, 255, 0.04), transparent 70%);
    filter: blur(20px);
  }

  .plate__figure {
    margin: 0;
    justify-self: center;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 800 / 634;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card), 0 0 0 var(--rule) var(--line);
  }
  .plate__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: var(--photo-filter-lift);
  }

  .plate__side {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .plate__close {
    position: absolute;
    top: -6px;
    right: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: var(--rule) solid var(--line);
    border-radius: var(--pill);
    color: var(--ink);
    transition: border-color var(--quick) var(--ease), background-color var(--quick) var(--ease);
  }
  .plate__close path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
  }
  .plate__close:hover,
  .plate__close:focus-visible {
    border-color: var(--line-strong);
    background: var(--wash);
    outline: none;
  }

  .plate__number {
    margin: 0 0 var(--space-m);
    color: var(--ink-soft);
    font-size: 11px;
    letter-spacing: var(--track-wide);
  }
  .plate__title {
    margin: 0 0 var(--space-m);
    padding-right: 56px;
    font-family: var(--font-display);
    font-size: var(--text-xxl);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: var(--track-tight);
  }
  .plate__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    margin: 0 0 var(--space-l);
    padding: 0 0 var(--space-l);
    border-bottom: var(--rule) solid var(--line);
    list-style: none;
  }
  .plate__tag {
    padding: 7px 12px;
    border: var(--rule) solid var(--line);
    border-radius: var(--pill);
    color: var(--ink-soft);
    font-size: 10.5px;
    line-height: 1;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
  }
  .plate__tag.is-lead {
    border-color: var(--line-strong);
    color: var(--ink);
  }

  .plate__label {
    margin: 0 0 var(--space-m);
    color: var(--ink-faint);
    font-size: var(--text-caps);
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
  }
  .plate__notes {
    max-height: 230px;
    overflow-y: auto;
    padding: var(--space-m) 20px;
    border: var(--rule) solid var(--line);
    border-radius: var(--radius-s);
    background: var(--wash);
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
  }
  .plate__notes:focus-visible {
    outline: var(--rule) solid var(--line-strong);
  }
  .plate__text {
    margin: 0 0 var(--space-s);
    color: var(--ink);
    font-size: var(--text-m);
    line-height: 1.85;
  }
  .plate__text:last-child {
    margin-bottom: 0;
  }

  .plate__actions {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    margin-top: var(--space-l);
  }
  .plate__copy {
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius-s);
    background: var(--button);
    color: var(--button-ink);
    font: inherit;
    font-size: 11px;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity var(--quick) var(--ease);
  }
  .plate__copy:hover {
    opacity: 0.86;
  }
  .plate__copy:focus-visible {
    outline: var(--rule) solid var(--ink);
    outline-offset: 3px;
  }
  .plate__status {
    color: var(--ink-faint);
    font-size: 9.5px;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    opacity: 0;
    transition: opacity var(--time) var(--ease);
  }
  .plate.is-copied .plate__status {
    opacity: 1;
  }

  @media (max-width: 800px) {
    .plate {
      grid-template-columns: 1fr;
    }
    .plate__notes {
      max-height: 180px;
    }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.plate')) {
    const button = root.querySelector('.plate__copy');
    const status = root.querySelector('.plate__status');
    const notes = root.querySelector('.plate__notes');
    let timer = 0;
    button.addEventListener('click', async () => {
      const text = [...notes.querySelectorAll('.plate__text')].map((p) => p.textContent.trim()).join('\n\n');
      try {
        await navigator.clipboard.writeText(text);
        status.textContent = 'Copied';
      } catch {
        status.textContent = 'Select the notes to copy';
      }
      root.classList.add('is-copied');
      clearTimeout(timer);
      timer = setTimeout(() => root.classList.remove('is-copied'), 1800);
    });
  }
})();
</script>

Similar components

Light trail statement

Light trail statement

Captioned film still

Captioned film still

Grain player

Grain player

Bleed

Bleed

Screen tile

Screen tile

Edge-to-edge plate

Edge-to-edge plate

Opening reel frame

Opening reel frame

Cut-letter plate

Cut-letter plate