Veiled bar
Three-part top bar on a white veil: wordmark, a centred line of credits with Read More ( + ) that opens a biography panel, and an archive line; an OVERVIEW / INDEX switch below.
Part of the style
Roman Numeral Plates
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/roman-numeral-plates/masthead/figma.html?type=tile-ring-blackroom
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/roman-numeral-plates/masthead/figma.html?type=tile-ring-blackroom and pass that whole HTML document to the html_to_figma tool, so the part "Veiled bar" 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+Tight:wght@400;500;600&family=IBM+Plex+Mono:wght@500&family=Archivo:wdth,wght@125,800&display=swap");
:root {
--font-serif: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
--font-caps: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}
</style>
<header class="masthead is-open">
<div class="masthead__bar">
<a class="masthead__mark" href="#" aria-label="Halde, still life, home"><em class="masthead__mark-name">halde</em><span class="masthead__mark-tag">Still life</span></a>
<p class="masthead__credits">
<span>Still-life photographer & set builder</span>
<span class="masthead__pair"><abbr class="masthead__sc" title="represented by">rep.</abbr> NORDLICHT AGENTS</span>
<span class="masthead__pair"><abbr class="masthead__sc" title="email">e.</abbr> studio@halde.example</span>
<button class="masthead__more" type="button" aria-expanded="true" aria-controls="masthead-panel"><span class="masthead__more-word">Read Less</span> <span class="masthead__bracket">( <span class="masthead__sign">−</span> )</span></button>
</p>
<p class="masthead__archive"><a class="masthead__caps masthead__link" href="#">Archive</a> <em>Oriel, Tesse, Brume, (31…)</em></p>
</div>
<div class="masthead__switch" role="group" aria-label="View">
<button class="masthead__view is-on" type="button" aria-pressed="true">Overview</button>
<span class="masthead__slash" aria-hidden="true">/</span>
<button class="masthead__view" type="button" aria-pressed="false">Index</button>
</div>
<div class="masthead__panel" id="masthead-panel">
<div class="masthead__col">
<h2 class="masthead__caps masthead__head">About</h2>
<p>Halde photographs objects that are usually overlooked: a pair of gloves left on a chair, a bowl after the tea, a bolt of cloth folded once too often. Every picture is built on a table in one room, in daylight, with nothing added later.</p>
<p>The studio works for publishers, makers and small houses who want their things to look like themselves.</p>
</div>
<div class="masthead__col">
<h2 class="masthead__caps masthead__head">Selected clients</h2>
<p>Oriel Quarterly, Maison Tesse, Atelier Brume, Lumen Ceramics, Kettle & Loom, Fold Paper Co., the Weaving Rooms, Vell Editions.</p>
<h2 class="masthead__caps masthead__head">Contact</h2>
<p>studio@halde.example<br>+00 12 345 67 89<br><em>By appointment, mornings.</em></p>
</div>
</div>
</header>
<style>
.masthead {
position: sticky;
top: 0;
z-index: 5;
padding: var(--space-s) var(--edge) var(--space-s);
background: var(--veil);
color: var(--ink);
font: 400 var(--text)/var(--leading) var(--font-serif);
}
.masthead__bar {
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
align-items: center;
gap: var(--space-m);
}
.masthead__caps,
.masthead__mark-tag,
.masthead__view {
font-family: var(--font-caps);
font-weight: var(--weight-caps);
font-size: var(--text);
letter-spacing: var(--caps-track);
text-transform: uppercase;
}
.masthead__mark {
display: inline-flex;
align-items: baseline;
gap: var(--space-xs);
min-height: 44px;
padding-top: 14px;
justify-self: start;
color: inherit;
text-decoration: none;
}
.masthead__mark-name {
font-size: calc(var(--text) * 1.5);
font-style: italic;
}
.masthead__mark-tag {
font-size: calc(var(--text) * 0.75);
}
.masthead__credits {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 0 var(--space-xs);
margin: 0;
text-align: center;
}
.masthead__sc {
font-variant: all-small-caps;
text-decoration: none;
}
.masthead__more {
min-height: 44px;
padding: 0 var(--space-xs);
border: 0;
background: none;
color: inherit;
font: inherit;
cursor: pointer;
}
.masthead__more-word {
font-family: var(--font-caps);
font-weight: var(--weight-caps);
transition: color var(--quick) var(--ease);
}
.masthead__more:hover .masthead__more-word,
.masthead__link:hover { color: var(--ink-faint); }
.masthead__archive {
justify-self: end;
margin: 0;
text-align: right;
}
.masthead__link {
display: inline-flex;
align-items: center;
min-height: 44px;
color: inherit;
text-decoration: none;
transition: color var(--quick) var(--ease);
}
.masthead__switch {
display: flex;
justify-content: center;
align-items: center;
gap: var(--space-xs);
margin-top: calc(var(--space-s) * -1);
}
.masthead__view {
min-width: 44px;
min-height: 44px;
padding: 0 var(--space-xs);
border: 0;
background: none;
color: var(--ink-faint);
cursor: pointer;
transition: color var(--quick) var(--ease);
}
.masthead__view.is-on,
.masthead__view:hover { color: var(--ink); }
.masthead__slash { color: var(--ink); }
.masthead button:focus-visible,
.masthead a:focus-visible { outline: 1px solid var(--ink); outline-offset: -6px; }
.masthead__panel {
display: none;
grid-template-columns: repeat(2, minmax(0, 22em));
justify-content: center;
gap: var(--space-l);
padding: var(--space-l) 0 var(--space-xl);
opacity: 0;
transition: opacity var(--quick) var(--ease);
}
.masthead.is-open .masthead__panel { display: grid; }
.masthead.is-shown .masthead__panel { opacity: 1; }
.masthead__head { margin: 0 0 var(--space-s); }
.masthead__col p { margin: 0 0 var(--space-m); text-wrap: pretty; }
@media (max-width: 760px) {
.masthead__bar { grid-template-columns: 1fr auto; row-gap: 0; }
.masthead__credits { grid-column: 1 / -1; grid-row: 2; }
.masthead__archive em { display: none; }
.masthead__panel { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: var(--space-m); }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.masthead')) {
const more = root.querySelector('.masthead__more');
const word = root.querySelector('.masthead__more-word');
const sign = root.querySelector('.masthead__sign');
const set = (open) => {
root.classList.toggle('is-open', open);
more.setAttribute('aria-expanded', String(open));
word.textContent = open ? 'Read Less' : 'Read More';
sign.textContent = open ? '−' : '+';
if (open) requestAnimationFrame(() => requestAnimationFrame(() => root.classList.add('is-shown')));
else root.classList.remove('is-shown');
};
set(root.classList.contains('is-open'));
more.addEventListener('click', () => set(!root.classList.contains('is-open')));
const views = root.querySelectorAll('.masthead__view');
views.forEach((view) => view.addEventListener('click', () => {
views.forEach((other) => {
other.classList.toggle('is-on', other === view);
other.setAttribute('aria-pressed', String(other === view));
});
}));
}
})();
</script>