Dictionary entry
The brand name set as a dictionary word with its pronunciation and word class on a rule, a short gloss, two small paragraphs and a photograph.
Part of the style
Black Bar Grotesk
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/black-bar-grotesk/definition/figma.html
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/black-bar-grotesk/definition/figma.html and pass that whole HTML document to the html_to_figma tool, so the part "Dictionary entry" 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
<section class="definition">
<header class="definition__entry">
<h2 class="definition__word">Moraine</h2>
<span class="definition__say">/məˈreɪn/</span>
<span class="definition__class">noun</span>
</header>
<p class="definition__gloss">Carried far, set down with care</p>
<div class="definition__body">
<div class="definition__text">
<p class="definition__para">A moraine is the ground a glacier leaves behind: stones carried a long way and set down where they make new land. We try to work the same way, bringing what we learn on one site to the next.</p>
<p class="definition__para">Each project begins with a long walk and ends with a planting plan a gardener can keep up. In between, we look for the one move that makes a place feel like it was always there.</p>
</div>
<figure class="definition__figure">
<img class="definition__photo" src="assets/walking-path.jpg" alt="A sandy path curving through ferns under a tall trunk" width="800" height="600" loading="lazy">
</figure>
</div>
</section>
<style>
.definition {
padding: var(--section-space) var(--edge);
}
.definition__entry {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0 var(--space-m);
padding-bottom: var(--space-xs);
border-bottom: var(--rule) solid var(--ink);
}
.definition__word {
margin: 0;
font-family: var(--font-display);
font-size: var(--display-m);
font-weight: 400;
letter-spacing: var(--track-tight);
line-height: 1;
}
.definition__say {
font-size: var(--text-m);
letter-spacing: var(--track-text);
}
.definition__class {
margin-left: auto;
font-size: var(--text-m);
}
.definition__gloss {
margin: var(--space-xs) 0 var(--space-xl);
font-size: var(--text-l);
letter-spacing: -0.03em;
line-height: 1.1;
}
.definition__body {
display: grid;
grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr);
gap: var(--gap);
align-items: start;
}
.definition__text {
grid-column: 1;
max-width: 24rem;
}
.definition__para {
margin: 0 0 var(--space-m);
font-size: var(--text-xs);
line-height: 1.55;
}
.definition__figure {
grid-column: 3;
margin: 0;
overflow: hidden;
}
.definition__photo {
width: 100%;
height: auto;
aspect-ratio: 4 / 3;
object-fit: cover;
transition: transform 0.6s var(--ease);
}
.definition__figure:hover .definition__photo {
transform: scale(1.04);
}
@media (max-width: 40rem) {
.definition__body { grid-template-columns: 1fr; }
.definition__text,
.definition__figure { grid-column: 1; }
.definition__class { margin-left: 0; }
}
</style>