Quote cards
Three columns of hairline quote cards with a name, a role and a small rounded portrait; one card spans wide.
Part of the style
Night Editor Chrome
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/night-editor-chrome/testimonials/figma.html?palette=98eef5fcb7746c35
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/night-editor-chrome/testimonials/figma.html?palette=98eef5fcb7746c35 and pass that whole HTML document to the html_to_figma tool, so the part "Quote cards" 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: #073b4e;
--ink: #ebf0f0;
--ink-soft: rgba(235, 240, 240, 0.7);
--ink-mute: rgba(235, 240, 240, 0.45);
--ink-dark: #073b4e;
--surface: rgba(235, 240, 240, 0.05);
--surface-up: rgba(235, 240, 240, 0.08);
--surface-top: rgba(235, 240, 240, 0.14);
--line: rgba(235, 240, 240, 0.1);
--line-strong: rgba(235, 240, 240, 0.18);
--chrome: #174456;
--chrome-deep: #103f52;
--sheet: #ebf0f0;
--sheet-ink: #56707c;
--sheet-line: #cfdada;
--signal: #53717c;
--signal-deep: #354044;
--select: #97b0b9;
--ok: #5f8696;
}
</style>
<section class="testimonials">
<h2 class="testimonials__title">Read by the people who write them</h2>
<div class="testimonials__grid">
<figure class="testimonials__card">
<blockquote class="testimonials__quote">“I moved four years of issues over in an afternoon. The archive finally looks like one publication.”</blockquote>
<figcaption class="testimonials__who">
<span class="testimonials__name">Ada Marlow<span class="testimonials__role">Editor, The Weekly Shore</span></span>
<img class="testimonials__face" src="assets/portrait-woman.jpg" alt="Painted portrait of a young woman in black" width="320" height="400" loading="lazy">
</figcaption>
</figure>
<figure class="testimonials__card">
<blockquote class="testimonials__quote">“The assistant drafts the layout, I fix the kerning. That split is exactly right.”</blockquote>
<figcaption class="testimonials__who">
<span class="testimonials__name">Tomas Reyes<span class="testimonials__role">Designer, Low Water Press</span></span>
<span class="testimonials__face testimonials__face--drawn" aria-hidden="true">TR</span>
</figcaption>
</figure>
<figure class="testimonials__card">
<blockquote class="testimonials__quote">“Open source mattered to us. We host it on our own box and nobody can take the letters away.”</blockquote>
<figcaption class="testimonials__who">
<span class="testimonials__name">Henry Bell<span class="testimonials__role">Publisher, Harbour Notes</span></span>
<img class="testimonials__face" src="assets/portrait-grey.jpg" alt="Painted portrait of an older man with grey hair" width="320" height="400" loading="lazy">
</figcaption>
</figure>
<figure class="testimonials__card">
<blockquote class="testimonials__quote">“For a two-person desk it does the work of a third.”</blockquote>
<figcaption class="testimonials__who">
<span class="testimonials__name">Ines Vale<span class="testimonials__role">Founder, Saltline</span></span>
<span class="testimonials__face testimonials__face--drawn" aria-hidden="true">IV</span>
</figcaption>
</figure>
<figure class="testimonials__card testimonials__card--wide">
<blockquote class="testimonials__quote">“We had been gluing a page builder to a mailing tool for two years. Rebuilding on one desk took a week, and the open rate went up because the issues finally look cared for.”</blockquote>
<figcaption class="testimonials__who">
<span class="testimonials__name">Frans Hollis<span class="testimonials__role">Growth lead, Tideway Review</span></span>
<img class="testimonials__face" src="assets/portrait-artist.jpg" alt="Painted portrait of a man in a broad black hat" width="320" height="400" loading="lazy">
</figcaption>
</figure>
</div>
</section>
<style>
.testimonials {
padding: var(--section-space) var(--edge);
}
.testimonials__title {
max-width: 18ch;
margin: 0 0 var(--space-xl);
font-size: var(--text-xl);
font-weight: var(--weight-medium);
line-height: 1.1;
letter-spacing: var(--track-tight);
}
.testimonials__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap);
}
.testimonials__card {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: var(--space-l);
margin: 0;
padding: var(--space-l) 24px 24px;
border: var(--rule) solid var(--line);
border-radius: var(--radius-card);
background: var(--surface);
transition: border-color var(--quick) var(--ease), background-color var(--quick) var(--ease);
}
.testimonials__card:hover {
border-color: var(--line-strong);
background: var(--surface-up);
}
.testimonials__card--wide {
grid-column: span 2;
background: var(--grain), radial-gradient(120% 120% at 100% 0%, var(--surface-top), var(--surface) 70%);
}
.testimonials__quote {
margin: 0;
font-size: var(--text-m);
line-height: 1.5;
}
.testimonials__card--wide .testimonials__quote {
font-size: clamp(17px, 1.6vw, 20px);
}
.testimonials__who {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-m);
}
.testimonials__name {
display: grid;
font-size: var(--text-s);
}
.testimonials__role {
color: var(--ink-mute);
font-size: var(--text-xs);
}
.testimonials__face {
flex: none;
width: 36px;
height: 36px;
border-radius: var(--radius-chip);
object-fit: cover;
object-position: 50% 22%;
filter: grayscale(0.3);
}
.testimonials__face--drawn {
display: grid;
place-items: center;
background: var(--surface-top);
color: var(--ink);
font-size: var(--text-xs);
font-weight: var(--weight-medium);
}
@media (max-width: 900px) {
.testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
.testimonials__grid { grid-template-columns: minmax(0, 1fr); }
.testimonials__card--wide { grid-column: auto; }
}
</style>