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.
https://kitbash.me/components/typewriter-red-dot/hero/figma.html?palette=85bd7d99e388aa46
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/typewriter-red-dot/hero/figma.html?palette=85bd7d99e388aa46 and pass that whole HTML document to the html_to_figma tool, so the part "Opening line" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--paper: #f1f3f4;
--ink: #000000;
--ink-body: #171918;
--ink-soft: #686a69;
--ink-faint: #c8cacb;
--rule: #cdcfd0;
--record: #c16c5a;
}
</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 →</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>