kitbash Connect agent
Components

Press quote

Cobalt section where a white hairline word, a tab-shaped picture bleeding off the left edge and a gold shout overlap, with two dashed pink lanes marching behind them and turning at the right. The two words drift in opposite directions on scroll; a paragraph and an arrow link close it.

Part of the style

Rollerdrome Colour Block

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --page: #040e3d;
  --ink: #f1f3fc;
  --paper: #000001;
  --pink: #4a67bf;
  --gold: #596482;
  --cobalt: #dce5ff;
  --frame: #4a67bf;
  --red: #646f8e;
  --orange: #5c657e;
}
</style>

<section class="praise">
  <div class="praise__stage">
    <p class="praise__label">What the papers say</p>

    <svg class="praise__tracks" viewBox="0 0 1000 450" aria-hidden="true">
      <path class="praise__track" d="M-20 20H760A205 205 0 0 1 760 430H-20"/>
      <path class="praise__track" d="M-20 75H760A150 150 0 0 1 760 375H-20"/>
    </svg>

    <blockquote class="praise__quote">
      <span class="praise__thin">seriously</span>
      <span class="praise__loud">Good fun</span>
    </blockquote>

    <div class="praise__picture" aria-hidden="true">
      <svg class="praise__scene" viewBox="0 0 660 300" preserveAspectRatio="xMidYMid slice">
        <path class="praise__beam" d="M120 0H230L330 300H40ZM470 0H540L660 210V300H590Z"/>
        <circle class="praise__light" cx="64" cy="40" r="6"/>
        <circle class="praise__light" cx="592" cy="76" r="5"/>
        <circle class="praise__light" cx="400" cy="34" r="4"/>
        <g transform="translate(64 -22) scale(0.8)">
          <path class="praise__speed" d="M60 104H190V114H60ZM20 150H170V160H20ZM90 196H180V206H90Z"/>
          <path class="praise__boot" d="M236 198V72Q236 52 256 52H306Q322 52 325 70L333 124Q336 140 352 144L424 160Q458 168 462 198Z"/>
          <path class="praise__heel" d="M236 198V136H262Q276 168 264 198Z"/>
          <path class="praise__toe" d="M398 154 424 160Q458 168 462 198H388Q386 174 398 154Z"/>
          <path class="praise__cuff" d="M236 86V72Q236 52 256 52H306Q322 52 325 70L327 86Z"/>
          <path class="praise__lace" d="M296 104 334 98M300 124 338 120M312 142 346 142"/>
          <path class="praise__plate" d="M218 198H474V214H218Z"/>
          <path class="praise__truck" d="M254 214H284V226H254ZM398 214H428V226H398Z"/>
          <circle class="praise__wheel" cx="269" cy="244" r="30"/>
          <circle class="praise__hub" cx="269" cy="244" r="10"/>
          <circle class="praise__wheel" cx="413" cy="244" r="30"/>
          <circle class="praise__hub" cx="413" cy="244" r="10"/>
          <circle class="praise__stop" cx="478" cy="228" r="14"/>
        </g>
      </svg>
    </div>

    <p class="praise__source">— The Canal Street Gazette</p>
  </div>

  <div class="praise__body">
    <p class="praise__copy">The Gazette came for one lap and stayed until the lights went up. Otto is a rink, a skate school, a hire desk and a very loud snack bar, all under one tram depot roof.</p>
    <a class="praise__more" href="#">Our story <svg class="praise__arrow" viewBox="0 0 20 14" aria-hidden="true"><path d="M0 7H16M10 1.5 16 7 10 12.5"/></svg></a>
  </div>
</section>

<style>
  .praise {
    container-type: inline-size;
    overflow: hidden;
    background: var(--cobalt);
    color: var(--paper);
  }

  /* Stage: a hairline word, a tab-shaped picture and a gold shout laid over each other. */
  .praise__stage {
    position: relative;
    height: 57cqw;
    view-timeline: --praise-pass block;
  }
  .praise__label {
    position: absolute;
    top: 3.4cqw;
    left: var(--gutter);
    margin: 0;
    font-size: var(--text-xs);
    font-weight: var(--label-weight);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
  }
  .praise__quote {
    margin: 0;
  }
  .praise__thin {
    position: absolute;
    top: 3.6cqw;
    left: 3cqw;
    font-size: 15.5cqw;
    font-weight: var(--thin-weight);
    line-height: 1;
    letter-spacing: var(--tracking-title);
  }
  .praise__loud {
    position: absolute;
    z-index: 3;
    top: 38.6cqw;
    right: 4cqw;
    color: var(--gold);
    font-size: 21.6cqw;
    font-weight: var(--display-weight);
    font-stretch: var(--display-width);
    line-height: var(--leading-giant);
    letter-spacing: var(--tracking-giant);
    text-transform: uppercase;
    white-space: nowrap;
  }
  .praise__source {
    position: absolute;
    top: 54.6cqw;
    right: 4.4cqw;
    margin: 0;
    font-size: var(--text-xs);
    font-weight: var(--label-weight);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
  }

  /* Tracks: two dashed lanes that cross the hairline word, turn at the right and come back under the shout. */
  .praise__tracks {
    position: absolute;
    z-index: 1;
    top: 8cqw;
    left: 0;
    width: 100cqw;
    height: 45cqw;
    overflow: visible;
  }
  .praise__track {
    fill: none;
    stroke: var(--pink);
    stroke-width: 2;
    stroke-dasharray: 7 6;
    vector-effect: non-scaling-stroke;
  }

  .praise__picture {
    position: absolute;
    z-index: 2;
    top: 17.4cqw;
    left: 0;
    width: 66cqw;
    height: 30cqw;
    overflow: hidden;
    border-radius: 0 15cqw 15cqw 5cqw;
    background: var(--ink);
  }
  .praise__scene {
    display: block;
    width: 100%;
    height: 100%;
  }
  .praise__beam {
    fill: var(--red);
  }
  .praise__speed,
  .praise__light,
  .praise__boot {
    fill: var(--paper);
  }
  .praise__heel,
  .praise__stop {
    fill: var(--pink);
  }
  .praise__toe,
  .praise__cuff {
    fill: var(--cobalt);
  }
  .praise__lace {
    fill: none;
    stroke: var(--ink);
    stroke-width: 6;
    stroke-linecap: round;
  }
  .praise__plate,
  .praise__hub {
    fill: var(--gold);
  }
  .praise__truck {
    fill: var(--paper);
  }
  .praise__wheel {
    fill: var(--orange);
  }

  .praise__body {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-l);
    padding: 1cqw var(--gutter) var(--space-l);
  }
  .praise__copy {
    max-width: 30em;
    margin: 0;
    font-size: var(--text-l);
    text-wrap: pretty;
  }
  .praise__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    min-height: var(--tap);
    color: inherit;
    font-size: var(--title-s);
    font-weight: var(--display-weight);
    font-stretch: var(--display-width);
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: gap var(--time-fast) var(--ease-out), color var(--time-fast) var(--ease-out);
  }
  .praise__more:hover,
  .praise__more:focus-visible {
    gap: 0.8em;
    color: var(--gold);
  }
  .praise__more:focus-visible {
    outline: 3px solid var(--paper);
    outline-offset: 3px;
  }
  .praise__arrow {
    width: 1.1em;
    height: 0.77em;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
  }

  @keyframes praise-march {
    to {
      stroke-dashoffset: -260;
    }
  }
  @keyframes praise-drift-right {
    from {
      translate: -3cqw 0;
    }
    to {
      translate: 3cqw 0;
    }
  }
  @keyframes praise-drift-left {
    from {
      translate: 3cqw 0;
    }
    to {
      translate: -3cqw 0;
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    .praise__track {
      animation: praise-march var(--march) linear infinite;
    }
    @supports (animation-timeline: view()) {
      .praise__thin {
        animation: praise-drift-right linear both;
        animation-timeline: --praise-pass;
      }
      .praise__loud {
        animation: praise-drift-left linear both;
        animation-timeline: --praise-pass;
      }
    }
  }

  @media (max-width: 40rem) {
    .praise__stage {
      height: 84cqw;
    }
    .praise__label {
      top: 6cqw;
    }
    .praise__thin {
      top: 10cqw;
      font-size: 22cqw;
    }
    .praise__tracks {
      top: 17cqw;
      height: 58cqw;
    }
    .praise__picture {
      top: 31cqw;
      width: 88cqw;
      height: 40cqw;
      border-radius: 0 20cqw 20cqw 7cqw;
    }
    .praise__loud {
      top: 61cqw;
      right: 5cqw;
      font-size: 25.4cqw;
    }
    .praise__source {
      top: 81cqw;
      right: 5cqw;
    }
    .praise__body {
      flex-direction: column;
      align-items: start;
      gap: var(--space-s);
      padding-top: 7cqw;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .praise__more {
      transition-duration: 0s;
    }
  }
</style>

Similar components

Pink voice card

Pink voice card

Slab quote

Slab quote

Timed reviews

Timed reviews

Quote rails

Quote rails

Season banner

Season banner

Masthead

Masthead

Tunnel heading

Tunnel heading

Archive tiles

Archive tiles