kitbash Sign in Connect agent
Components

Slab quote

Dark slab with red bold text, a kicker in beaded scan rows and a source line, a second slab offset behind it as a hard shadow and two square steps on its left corners.

Part of the style

Scanline Red

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --red: #21221c;
  --dark: #e9e6de;
  --glow: rgba(33, 34, 28, 0.95);
}
</style>

<figure class="quote">
  <blockquote class="quote__block">
    <p class="quote__kicker">Standing order no. 4</p>
    <p class="quote__text">Write down what you hear, not what you think it is. If the voice says seven, write seven. If the carrier drops for a second, write that it dropped and for how long. Guessing goes in the margin, and the margin is not the log.</p>
    <footer class="quote__by">Pinned above the receiver, attic post, since 2019</footer>
  </blockquote>
</figure>

<style>
  .quote {
    position: relative;
    margin: 0;
    padding: var(--space-m) var(--gutter) calc(var(--space-m) + var(--shadow-offset)) var(--edge);
    background: var(--red);
  }

  /* Registration blocks on both page edges. */
  .quote::before,
  .quote::after {
    content: "";
    position: absolute;
    inset-block: 0;
    width: var(--tick-w);
    background:
      linear-gradient(var(--dark), var(--dark)) 0 22% / 100% var(--tick-2) no-repeat,
      linear-gradient(var(--dark), var(--dark)) 0 82% / 100% var(--tick-3) no-repeat;
    pointer-events: none;
  }
  .quote::before {
    left: 0;
  }
  .quote::after {
    right: 0;
  }

  /* A dark slab with a second slab knocked down and right behind it, and two square steps on its left corners. */
  .quote__block {
    position: relative;
    width: fit-content;
    max-width: min(var(--measure), 100% - var(--shadow-offset));
    margin: 0;
    padding: var(--space-s) 0 calc(var(--space-s) * 1.2);
    background: var(--dark);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0.12rem var(--dark);
    color: var(--red);
  }
  .quote__block::before,
  .quote__block::after {
    content: "";
    position: absolute;
    left: calc(-1 * min(var(--space-s), var(--edge)));
    width: min(var(--space-s), var(--edge));
    height: var(--tick-2);
    background: var(--dark);
  }
  .quote__block::before {
    top: calc(-1 * var(--tick-2));
  }
  .quote__block::after {
    bottom: 0;
  }

  .quote__kicker,
  .quote__text,
  .quote__by {
    margin: 0;
    padding-inline: var(--space-s);
  }
  .quote__kicker {
    margin-bottom: var(--space-xs);
    font-family: var(--font-scan);
    font-size: 1.25em;
    font-weight: 400;
    font-variation-settings: "BLED" var(--bleed-off), "SCAN" var(--scan-dots);
    line-height: 1.3;
    letter-spacing: 0;
  }
  .quote__text {
    font-size: 1.22em;
    line-height: 1.25;
    text-wrap: pretty;
  }
  .quote__by {
    margin-top: var(--space-s);
    font-size: var(--text-s);
    font-weight: 400;
    line-height: 1.3;
  }
</style>

Similar components

Pink voice card

Pink voice card

Quote rails

Quote rails

Word-by-word testimonial

Word-by-word testimonial

Timed reviews

Timed reviews

Press quote

Press quote

HUD hero

HUD hero

Boot screen

Boot screen

Work grid

Work grid