Wordmark intro
Reed panel with a full-width red wordmark and a three-line suffix that types itself behind a block cursor, plus a two-option language switch in the corner.
Part of the style
Reed Mono Chapters
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/reed-mono-chapters/intro/figma.html?palette=ddc8f2d07f5f98e3
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/reed-mono-chapters/intro/figma.html?palette=ddc8f2d07f5f98e3 and pass that whole HTML document to the html_to_figma tool, so the part "Wordmark intro" 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 {
--reed: #ff622c;
--bark: #1d0c08;
--sand: #fb9474;
--night: #110402;
--chalk: #ffb9a4;
--chalk-dim: #ffb9a4;
--shade: rgba(1, 0, 0, 0.28);
--bark-veil: rgba(29, 12, 8, 0.2);
--olive: #7c2205;
--mustard: #fea88f;
--harbor: #7b2c0e;
--sky: #f2a389;
--signal: #a86756;
--skin: #8d7872;
--hair: #010000;
--teal: #7c2205;
}
</style>
<header class="intro">
<nav class="intro__langs" aria-label="Language">
<a class="intro__lang is-active" href="#" aria-current="true"><span class="intro__chip">EN</span></a>
<a class="intro__lang" href="#"><span class="intro__chip">NL</span></a>
</nav>
<h1 class="intro__mark" aria-label="pell signage">
<span class="intro__word" aria-hidden="true">pell</span>
<span class="intro__suffix" aria-hidden="true" data-lines="Sig|na|ge"></span>
</h1>
</header>
<style>
.intro {
position: relative;
display: grid;
place-items: center;
min-height: clamp(26rem, 58vw, 52rem);
padding: var(--space-16) var(--gutter);
background: var(--reed);
overflow: hidden;
}
.intro__langs {
position: absolute;
top: calc(var(--gutter) - 0.75rem);
right: calc(var(--gutter) - 0.5rem);
display: flex;
}
.intro__lang {
display: inline-grid;
place-items: center;
min-width: var(--tap);
min-height: var(--tap);
color: var(--bark);
font-size: var(--text-xs);
text-decoration: none;
}
.intro__chip {
padding: 0.15em 0.5em;
border: 1px solid transparent;
transition: opacity 0.14s linear;
}
.intro__lang.is-active .intro__chip {
background: var(--bark);
color: var(--reed);
}
.intro__lang:hover .intro__chip { opacity: 0.6; }
.intro__lang:focus-visible { outline: none; }
.intro__lang:focus-visible .intro__chip { border-color: var(--bark); }
.intro__mark {
display: flex;
align-items: center;
gap: 0.06em;
margin: 0;
color: var(--signal);
font-size: var(--text-mark);
font-weight: 400;
line-height: 1;
}
.intro__word {
font-family: var(--font-mark);
font-weight: 800;
letter-spacing: -0.045em;
line-height: 0.8;
animation: intro-appear 0.6s linear 0.1s both;
}
.intro__suffix {
display: grid;
min-width: 3.2ch;
font-family: var(--font-mono);
font-size: 0.19em;
font-weight: 500;
line-height: 1.12;
white-space: pre;
}
.intro__line { display: block; min-height: 1.12em; }
.intro__cursor {
display: inline-block;
width: 0.62em;
height: 0.9em;
margin-left: 0.04em;
vertical-align: -0.12em;
background: currentColor;
}
.intro__cursor.is-blinking { animation: intro-blink 0.5s steps(1) 4 forwards; }
@keyframes intro-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-blink { 50% { opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 40rem) {
.intro__mark { flex-direction: column; align-items: flex-end; gap: 0.1em; }
.intro__suffix { display: block; font-size: 0.24em; }
.intro__line { display: inline; }
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)').matches;
const beats = [80, 140, 80, 140, 80, 120];
function type(suffix) {
const lines = suffix.dataset.lines.split('|').map((text) => {
const line = document.createElement('span');
line.className = 'intro__line';
suffix.append(line);
return { line, text };
});
const cursor = document.createElement('span');
cursor.className = 'intro__cursor';
if (still) {
lines.forEach(({ line, text }) => { line.textContent = text; });
return;
}
const letters = lines.flatMap(({ line, text }) => [...text].map((letter) => ({ line, letter })));
lines[0].line.append(cursor);
let at = 1000;
letters.forEach(({ line, letter }, index) => {
setTimeout(() => {
line.append(document.createTextNode(letter), cursor);
}, at);
at += beats[index % beats.length];
});
setTimeout(() => cursor.classList.add('is-blinking'), at);
}
document.querySelectorAll('.intro__suffix').forEach(type);
})();
</script>