Echo title card
Article opener: a dark label bar with a bar arrow and a pixel-face label that sticks to the top, the title set three times in hairline scan rows with a leaning solid copy that slides through them, a byline and an opening statement in capitals.
Part of the style
Scanline Red
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/scanline-red/titlecard/figma.html?type=difference-deck
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/scanline-red/titlecard/figma.html?type=difference-deck and pass that whole HTML document to the html_to_figma tool, so the part "Echo title card" 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 */
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400..700&family=Fraunces:ital,opsz,wght@1,9..144,400..600&display=swap");
:root {
--font-text: "Inter", "Helvetica Neue", Arial, sans-serif;
--font-scan: "Workbench", "Courier New", monospace;
--font-pixel: "Sixtyfour", "Courier New", monospace;
}
</style>
<header class="titlecard">
<div class="titlecard__bar">
<a class="titlecard__back" href="#">
<svg class="titlecard__arrow" viewBox="0 0 48 30" aria-hidden="true">
<path d="M46 15H2M15 11H6M19 7h-8M23 3h-7M15 19H6M19 23h-8M23 27h-7" />
</svg>
Numbers
</a>
</div>
<h1 class="titlecard__title">
<span class="titlecard__echo" aria-hidden="true">Numbers</span>
<span class="titlecard__echo">Numbers</span>
<span class="titlecard__echo" aria-hidden="true">Numbers</span>
<span class="titlecard__solid" aria-hidden="true">Numbers</span>
</h1>
<div class="titlecard__byline">
<p class="titlecard__author">Ines Halloran</p>
<p class="titlecard__post">Log keeper, north attic post</p>
<time class="titlecard__date" datetime="2027-01-09">January 9, 2027</time>
</div>
<p class="titlecard__starter">Somebody still reads five-figure groups to nobody at four in the morning.</p>
</header>
<style>
.titlecard {
position: relative;
padding-bottom: var(--space-m);
background: var(--red);
color: var(--dark);
}
/* Registration blocks on both page edges. */
.titlecard::before,
.titlecard::after {
content: "";
position: absolute;
inset-block: 0;
width: var(--tick-w);
background:
linear-gradient(var(--dark), var(--dark)) 0 16% / 100% var(--tick-1) no-repeat,
linear-gradient(var(--dark), var(--dark)) 0 42% / 100% var(--tick-1) no-repeat,
linear-gradient(var(--dark), var(--dark)) 0 88% / 100% var(--tick-2) no-repeat;
pointer-events: none;
}
.titlecard::before {
left: 0;
}
.titlecard::after {
right: 0;
}
/* A dark label bar that stays on top while the opener is on screen. */
.titlecard__bar {
position: sticky;
top: 0;
z-index: 2;
display: flex;
align-items: center;
min-height: var(--bar-height);
padding-inline: var(--edge) var(--gutter);
background: var(--dark);
color: var(--red);
}
.titlecard__back {
display: inline-flex;
align-items: center;
column-gap: 0.7em;
min-height: var(--tap);
color: inherit;
font-family: var(--font-pixel);
font-size: var(--text-s);
font-weight: 400;
font-variation-settings: "BLED" var(--bleed-off), "SCAN" var(--scan-hover);
letter-spacing: 0;
text-decoration: none;
text-shadow: 0 0 0.1rem var(--glow), 0 0 0.1rem var(--glow);
text-transform: uppercase;
transition: font-variation-settings var(--time-snap) var(--ease-snap);
}
.titlecard__arrow {
flex: none;
width: 1.9em;
height: 1.2em;
overflow: visible;
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-width: 0.12rem;
transition: translate var(--time-snap) var(--ease-snap);
}
.titlecard__back:hover,
.titlecard__back:focus-visible {
font-variation-settings: "BLED" var(--bleed-off), "SCAN" var(--scan-heavy);
text-shadow: none;
}
.titlecard__back:hover .titlecard__arrow,
.titlecard__back:focus-visible .titlecard__arrow {
translate: -0.4em 0;
}
.titlecard__back:focus-visible {
outline: var(--rule-double) solid var(--red);
outline-offset: 0.3em;
}
/* The title three times in hairline scan rows, each casting a page-coloured haze, and once solid underneath, leaning. */
.titlecard__title {
position: relative;
isolation: isolate;
width: fit-content;
max-width: 100%;
margin: var(--space-m) var(--gutter) 0 var(--edge);
font-family: var(--font-scan);
font-size: var(--display-echo);
font-style: italic;
font-weight: 400;
font-variation-settings: "BLED" var(--bleed-soft), "SCAN" var(--scan-thin);
line-height: 0.82;
letter-spacing: 0;
text-transform: uppercase;
}
.titlecard__echo {
position: relative;
z-index: 1;
display: block;
padding-top: 0.06em;
text-shadow: -0.2rem 0.2rem 0.4rem var(--glow), -0.2rem 0.2rem 0.4rem var(--glow);
}
.titlecard__solid {
position: absolute;
inset: 0 auto auto 0.12em;
font-family: var(--font-text);
font-size: 0.86em;
font-style: normal;
font-weight: 700;
line-height: 1;
transform: translateY(0.92em) skewX(5deg);
animation: titlecard-drift var(--drift) linear infinite alternate;
}
@keyframes titlecard-drift {
from {
transform: translateY(0.02em) skewX(5deg);
}
to {
transform: translateY(1.86em) skewX(5deg);
}
}
.titlecard__byline {
margin: var(--space-m) var(--gutter) 0 var(--edge);
font-size: var(--text-s);
font-weight: 400;
line-height: var(--leading);
}
.titlecard__author,
.titlecard__post {
margin: 0;
}
.titlecard__author {
margin-bottom: var(--space-xs);
font-size: var(--text-m);
font-weight: 700;
}
.titlecard__date {
display: block;
}
.titlecard__starter {
max-width: 21em;
margin: var(--space-m) var(--gutter) 0 var(--edge);
font-size: var(--text-l);
line-height: var(--leading-tight);
text-transform: uppercase;
text-wrap: balance;
}
@media (prefers-reduced-motion: reduce) {
.titlecard__solid {
animation: none;
}
.titlecard__back,
.titlecard__arrow {
transition-duration: 0s;
}
}
</style>