kitbash Sign in Connect agent
Components

Figure with call to action

A wide section drawing with hatched walls and animated dashes showing a flow, beside a short pitch with the small outlined pixel button and a dotted-underline text link. Stacks on narrow screens.

Part of the style

Blueprint Manual

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #bdbbb9;
  --card: #e7e5e3;
  --ink: #08121f;
  --ink-soft: #675f57;
  --ink-faint: #a6a29f;
  --blue-wash: #b9b6b4;
  --blue: #466285;
  --blue-light: #dbe0e5;
  --blue-mid: #9aa9bb;
  --grid-dot: #c5cdd7;
}
</style>

<section class="offer">
  <div class="offer__layout">
    <figure class="offer__frame">
      <span class="offer__tag offer__tag--number">FIG_006</span>
      <span class="offer__tag offer__tag--subject">[ Electric kettle, section ]</span>
      <span class="offer__tag offer__tag--year">(c) 1955</span>

      <svg class="offer__drawing" viewBox="40 0 780 440" role="img" aria-label="Section through an electric kettle showing how steam travels down the handle to a switch in the base">
        <defs>
          <pattern id="offer-hatch" width="5" height="5" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
            <line class="offer__hatch-line" x1="0" y1="0" x2="0" y2="5" />
          </pattern>
          <linearGradient id="offer-steam" x1="1" y1="1" x2="0" y2="0">
            <stop class="offer__steam-near" offset="0" />
            <stop class="offer__steam-far" offset="1" />
          </linearGradient>
        </defs>

        <path class="offer__plume" fill="url(#offer-steam)" d="M240 92 L96 44 L132 4 Z" />

        <path class="offer__shade" d="M480 112 H566 Q600 112 600 146 V310 Q600 344 566 344 H508 L506 318 H562 Q574 318 574 306 V150 Q574 138 562 138 H483 Z" />
        <path class="offer__face" d="M282 112 L236 98 L239 87 L286 90 Z" />
        <path class="offer__wall" fill="url(#offer-hatch)" d="M250 350 L278 96 Q279 88 288 88 H472 Q481 88 482 96 L510 350 Z" />
        <path class="offer__face" d="M262 338 L288 100 H472 L498 338 Z" />
        <path class="offer__water" d="M278.2 190 H481.8 L496.3 322 H263.7 Z" />
        <path class="offer__ripple" d="M300 210 h34 M352 226 h46 M318 250 h28 M410 206 h36 M388 262 h52 M300 286 h40 M432 290 h30" />
        <path class="offer__accent" d="M263.7 322 H496.3 L498 338 H262 Z" />
        <path class="offer__shade" d="M284 74 H476 V88 H284 Z M356 74 Q356 60 380 60 Q404 60 404 74 Z" />
        <rect class="offer__face" x="244" y="350" width="272" height="40" rx="4" />
        <path class="offer__shade" d="M516 360 H540 L536 380 H516 Z" />
        <path class="offer__disc" d="M322 376 Q348 358 374 376" />
        <path class="offer__hair" d="M348 367 V352 M392 370 H516" />

        <path class="offer__flow" d="M452 125 H564 Q587 125 587 148 V308 Q587 331 564 331 H470 Q452 331 452 349 V362 H380" />

        <path class="offer__leader" d="M200 94 H232 M200 190 H264 M200 330 H258 M200 372 H318 M650 81 H480 M650 220 H604 M650 370 H544" />
        <text class="offer__label offer__label--left" x="190" y="99">Spout</text>
        <text class="offer__label offer__label--left" x="190" y="195">Water line</text>
        <text class="offer__label offer__label--left" x="190" y="335">Heating plate</text>
        <text class="offer__label offer__label--left" x="190" y="377">Bimetal disc</text>
        <text class="offer__label" x="660" y="86">Lid</text>
        <text class="offer__label" x="660" y="225">Steam tube</text>
        <text class="offer__label" x="660" y="375">Switch</text>
      </svg>
    </figure>

    <div class="offer__pitch">
      <h2 class="offer__heading">First Printing</h2>
      <p class="offer__text">
        The manual ships in parts while it is being drawn. Reserve a copy now and each new
        chapter reaches you the week it leaves the bench.
      </p>
      <a class="offer__button" href="#">Reserve a copy ($48)</a>
      <p class="offer__aside">Just curious? <a class="offer__link" href="#">Read two sample chapters</a></p>
    </div>
  </div>
</section>

<style>
  .offer {
    container-type: inline-size;
    padding: var(--space-section) var(--gutter) 0;
  }

  .offer__layout {
    display: grid;
    gap: 2.5rem;
  }

  .offer__frame {
    position: relative;
    margin: 0;
    padding: 1.5rem 1.5rem;
    background: var(--pattern-grid) 0 0 / var(--grid-step) var(--grid-step);
  }

  .offer__tag {
    position: absolute;
    writing-mode: vertical-rl;
    font-family: var(--font-label);
    font-size: var(--text-micro);
    letter-spacing: var(--tracking-label);
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .offer__tag--number {
    top: 0.25rem;
    left: 0.125rem;
  }

  .offer__tag--subject {
    top: 0.25rem;
    right: 0.125rem;
  }

  .offer__tag--year {
    right: 0.125rem;
    bottom: 0.25rem;
  }

  .offer__drawing {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    fill: none;
    stroke: var(--blue);
    stroke-width: var(--stroke);
    stroke-linejoin: round;
    stroke-linecap: round;
  }

  .offer__drawing * {
    vector-effect: non-scaling-stroke;
  }

  .offer__hatch-line {
    stroke: var(--blue-mid);
    stroke-width: 1;
  }

  .offer__steam-near {
    stop-color: var(--blue-light);
  }

  .offer__steam-far {
    stop-color: var(--blue-light);
    stop-opacity: 0;
  }

  .offer__plume {
    stroke-width: calc(var(--stroke) * 0.5);
    stroke-dasharray: 2 4;
  }

  .offer__face {
    fill: var(--blue-wash);
  }

  .offer__shade {
    fill: var(--blue-light);
  }

  .offer__water {
    fill: var(--blue-light);
    stroke-width: calc(var(--stroke) * 0.6);
  }

  .offer__ripple {
    stroke-width: calc(var(--stroke) * 0.6);
    stroke-dasharray: 6 5;
    opacity: 0.7;
  }

  .offer__accent {
    fill: var(--blue-mid);
  }

  .offer__disc {
    stroke-width: calc(var(--stroke) * 2.4);
  }

  .offer__hair,
  .offer__leader {
    stroke-width: calc(var(--stroke) * 0.7);
  }

  .offer__flow {
    stroke-width: calc(var(--stroke) * 1.2);
    stroke-dasharray: 3 7;
    animation: offer-flow var(--time-loop) linear infinite;
  }

  .offer__label {
    font-family: var(--font-label);
    font-size: 14px;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    fill: var(--blue);
    stroke: none;
  }

  .offer__label--left {
    text-anchor: end;
  }

  .offer__heading {
    margin: 0 0 0.5rem;
    font-size: var(--text-body);
    font-weight: 500;
  }

  .offer__text {
    margin: 0 0 1.5rem;
    max-width: 26rem;
    font-size: var(--text-small);
    line-height: 1.65;
  }

  .offer__button {
    position: relative;
    display: inline-grid;
    align-items: center;
    height: 2rem;
    padding: 0 0.625rem;
    border: 1px solid var(--ink-soft);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow:
      inset 0 0 0 2px var(--card),
      inset 0 0 0 3px var(--ink-faint);
    font-family: var(--font-label);
    font-size: var(--text-label);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    transition:
      color var(--time-quick) var(--ease),
      border-color var(--time-quick) var(--ease),
      box-shadow var(--time-quick) var(--ease),
      background-position var(--time-slow) linear;
  }

  .offer__button::after {
    content: "";
    position: absolute;
    inset: 50% -0.25rem auto;
    height: var(--tap);
    transform: translateY(-50%);
  }

  .offer__button:hover,
  .offer__button:focus-visible {
    border-color: var(--blue);
    background: var(--pattern-grid) 0 0 / var(--grid-step) var(--grid-step), var(--card);
    box-shadow:
      inset 0 0 0 2px var(--card),
      inset 0 0 0 3px var(--blue-mid);
    color: var(--blue);
    outline: none;
  }

  .offer__button:active {
    transform: translateY(1px);
  }

  .offer__aside {
    margin: 1.25rem 0 0;
    font-size: var(--text-small);
  }

  .offer__link {
    display: inline-block;
    padding: 0.6rem 0;
    margin: -0.6rem 0;
    color: inherit;
    text-decoration: underline dotted;
    text-underline-offset: 0.3em;
    transition: color var(--time-quick) var(--ease);
  }

  .offer__link:hover,
  .offer__link:focus-visible {
    color: var(--blue);
    outline: none;
  }

  @container (max-width: 43.99rem) {
    .offer__frame {
      padding: 1.25rem;
    }

    .offer__tag--year {
      display: none;
    }

    .offer__label {
      font-size: 24px;
    }
  }

  @container (min-width: 56rem) {
    .offer__layout {
      grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
      gap: var(--column-gap);
      align-items: center;
    }
  }

  @keyframes offer-flow {
    to {
      stroke-dashoffset: -100;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .offer__flow {
      animation: none;
    }
  }
</style>

Similar components

Big call and footer

Big call and footer

Closing call and horizon

Closing call and horizon

Signup card

Signup card

Appeal

Appeal

Sign-off and sticker pile

Sign-off and sticker pile

Catchphrase and tickets

Catchphrase and tickets

Closing call and footer

Closing call and footer

Error screen

Error screen