kitbash Sign in Connect agent
Components

Opening line

Spaced caps kicker, a bold italic two-line headline with a blinking block cursor, a short typed paragraph and a black and an outline pill; lines fade up on load.

Part of the style

Typewriter Red Dot

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #000000;
  --ink: #feeddb;
  --ink-body: #e09a44;
  --ink-soft: #845f34;
  --ink-faint: #0d0406;
  --rule: #090204;
  --record: #85503e;
}
</style>

<section class="hero">
  <p class="hero__kicker hero__rise">late-night call-in voicemail</p>
  <h1 class="hero__title hero__rise">let your listeners<br><span class="hero__soft">call the night in.</span><span class="hero__cursor" aria-hidden="true"></span></h1>
  <p class="hero__lede hero__rise">one number, one question, an hour of voices. no switchboard, no hold music. people phone in after midnight. you play the best ones on air.</p>
  <div class="hero__actions hero__rise">
    <a class="hero__button" href="#">start a line &rarr;</a>
    <a class="hero__ghost" href="#">hear a sample</a>
  </div>
</section>

<style>
  .hero {
    display: grid;
    align-content: center;
    min-height: clamp(30rem, 52vw, 42rem);
    padding: var(--space-xl) var(--edge);
  }
  .hero__kicker {
    margin: 0 0 var(--space-l);
    color: var(--ink-soft);
    font-size: var(--text-label);
    letter-spacing: var(--track-label);
    text-transform: uppercase;
  }
  .hero__title {
    margin: 0 0 var(--space-l);
    color: var(--ink);
    font-size: var(--text-xl);
    font-style: italic;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.01em;
  }
  .hero__soft { color: var(--ink-body); }
  .hero__cursor {
    display: inline-block;
    width: 0.55em;
    height: 0.95em;
    margin-left: 0.15em;
    vertical-align: -0.1em;
    background: var(--ink);
    animation: hero-blink 1s steps(1) infinite;
  }
  .hero__lede {
    max-width: 30rem;
    margin: 0 0 var(--space-l);
    color: var(--ink-body);
    font-size: var(--text-s);
    line-height: var(--lead);
  }
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-m);
  }
  .hero__button,
  .hero__ghost {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1.5rem;
    border-radius: var(--pill);
    font-size: var(--text-label);
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity var(--quick) var(--ease), transform var(--press) var(--ease), border-color var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .hero__button {
    background: var(--ink);
    color: var(--paper);
  }
  .hero__button:hover { opacity: 0.82; }
  .hero__ghost {
    border: var(--line) solid var(--rule);
    color: var(--ink-body);
  }
  .hero__ghost:hover {
    border-color: var(--ink);
    color: var(--ink);
  }
  .hero__button:active,
  .hero__ghost:active { transform: translateY(1px); }
  .hero__button:focus-visible,
  .hero__ghost:focus-visible {
    outline: var(--line) dashed var(--ink);
    outline-offset: 3px;
  }

  .hero__rise {
    animation: hero-rise var(--rise) var(--ease) both;
  }
  .hero__rise:nth-child(2) { animation-delay: 120ms; }
  .hero__rise:nth-child(3) { animation-delay: 240ms; }
  .hero__rise:nth-child(4) { animation-delay: 360ms; }

  @keyframes hero-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes hero-blink {
    50% { opacity: 0; }
  }

  @media (max-width: 600px) {
    .hero__lede { font-size: var(--text-m); }
    .hero__button,
    .hero__ghost { min-height: 52px; padding: 0 2rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero__rise { animation: none; }
    .hero__cursor { animation: none; }
  }
</style>

Similar components

Hero

Hero

Spinning coin hero

Spinning coin hero

Headline over app window

Headline over app window

Mark and standfirst

Mark and standfirst

Phone stage hero

Phone stage hero

Centred hero with foil word

Centred hero with foil word

Device hero

Device hero

Error screen

Error screen