Project status cards
A row of dusty status cards with labels, titles and chips, one with a photograph under a lilac slip; corners swell on hover.
Part of the style
Dusty Status Cards
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/dusty-status-cards/projects/figma.html?palette=bc3c15bc00a286f1
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/dusty-status-cards/projects/figma.html?palette=bc3c15bc00a286f1 and pass that whole HTML document to the html_to_figma tool, so the part "Project status 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 {
--stone: #d5e8e6;
--white: #eafdfb;
--night: #5e352b;
--ink: #5e352b;
--ink-soft: #76544c;
--ink-faint: #99bcb9;
--rule: rgba(94, 53, 43, 0.16);
--button: #300c05;
--on-button: #eafdfb;
--sage: #aac5c2;
--sage-ink: #785148;
--lilac: #c7a898;
--lilac-ink: #250c01;
--lilac-line: rgba(37, 12, 1, 0.3);
--lilac-deep: #cfa995;
--rose: #d0a284;
--rose-ink: #240d00;
--ochre: #c7a898;
--ochre-ink: #22120a;
}
</style>
<section class="projects">
<div class="projects__head">
<h2 class="projects__title">On the bench this month</h2>
<a class="projects__all" href="#">See every project <span aria-hidden="true">→</span></a>
</div>
<ul class="projects__rail">
<li class="projects__card projects__card--rose">
<p class="projects__status">Active</p>
<h3 class="projects__name">Copper bar top for a harbour oyster room</h3>
<ul class="projects__chips"><li>#metal</li><li>#bar</li><li>#harbour</li></ul>
<p class="projects__crew"><span class="projects__faces" aria-hidden="true"><img src="assets/face-a.jpg" alt="" width="32" height="32"><img src="assets/face-c.jpg" alt="" width="32" height="32"></span>Crew of 2</p>
</li>
<li class="projects__card projects__card--photo">
<img class="projects__picture" src="assets/carpenter.jpg" alt="An early photograph of a carpenter at his workbench" width="640" height="800">
<div class="projects__slip">
<p class="projects__status">Shipped</p>
<h3 class="projects__name">Workbench counter for a tool library</h3>
</div>
</li>
<li class="projects__card projects__card--sage">
<p class="projects__status">Crew forming</p>
<h3 class="projects__name">Tiled shopfront for a late-night pharmacy</h3>
<ul class="projects__chips"><li>#tiles</li><li>#signs</li></ul>
<p class="projects__need">Looking for…</p>
<ul class="projects__roles"><li>Tiler</li><li>Sign painter</li></ul>
</li>
<li class="projects__card projects__card--ochre">
<p class="projects__status">Active</p>
<h3 class="projects__name">Pantry shelves and a pass for a soup kitchen</h3>
<ul class="projects__chips"><li>#kitchen</li><li>#pine</li></ul>
<figure class="projects__thumb"><img src="assets/kitchen.jpg" alt="A painted kitchen still life with a basket and cheeses" width="800" height="658"></figure>
</li>
</ul>
</section>
<style>
.projects {
padding: var(--section-space) var(--edge);
background: var(--stone);
color: var(--ink);
}
.projects__head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: var(--space-s) var(--space-l);
margin-bottom: var(--space-l);
}
.projects__title {
margin: 0;
font-size: var(--text-2xl);
font-weight: var(--weight-regular);
line-height: var(--leading-tight);
letter-spacing: var(--tracking-tight);
}
.projects__all {
display: inline-flex;
align-items: center;
gap: var(--space-xs);
min-height: var(--tap);
color: var(--ink);
font-size: var(--text-s);
font-weight: var(--weight-regular);
text-decoration: none;
transition: color var(--quick) var(--ease);
}
.projects__all:hover { color: var(--ink-soft); }
.projects__rail {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.projects__card {
--tint: var(--lilac);
--tint-ink: var(--lilac-ink);
position: relative;
display: flex;
flex-direction: column;
min-height: 26rem;
padding: var(--space-m);
border-radius: var(--radius-card);
background: var(--tint);
color: var(--tint-ink);
overflow: hidden;
transition: border-radius var(--time-slow) var(--ease-soft);
}
.projects__card:hover { border-radius: var(--radius-card-hover); }
.projects__card--rose { --tint: var(--rose); --tint-ink: var(--rose-ink); }
.projects__card--sage { --tint: var(--sage); --tint-ink: var(--sage-ink); }
.projects__card--ochre { --tint: var(--ochre); --tint-ink: var(--ochre-ink); }
.projects__card--photo { padding: 0; justify-content: flex-end; background: var(--night); }
.projects__status,
.projects__need {
margin: 0;
font-size: var(--text-xs);
font-weight: var(--weight-regular);
letter-spacing: var(--tracking-label);
text-transform: uppercase;
}
.projects__status::before { content: "• "; }
.projects__name {
margin: var(--space-s) 0 var(--space-m);
font-size: var(--text-l);
font-weight: var(--weight-light);
line-height: 1.25;
}
.projects__chips,
.projects__roles {
display: flex;
flex-wrap: wrap;
gap: var(--space-xs);
margin: 0;
padding: 0;
list-style: none;
font-size: var(--text-xs);
}
.projects__chips li {
padding: 1px var(--space-xs);
border-radius: var(--radius-chip);
background: var(--tint-ink);
color: var(--tint);
}
.projects__need {
margin-top: auto;
padding-top: var(--space-s);
border-top: var(--line) solid currentColor;
}
.projects__roles { margin-top: var(--space-s); }
.projects__roles li {
padding: 4px var(--space-s);
border: var(--line) solid currentColor;
border-radius: var(--pill);
}
.projects__crew {
display: flex;
align-items: center;
gap: var(--space-s);
margin: auto 0 0;
padding-top: var(--space-s);
border-top: var(--line) solid currentColor;
font-size: var(--text-xs);
letter-spacing: var(--tracking-label);
text-transform: uppercase;
}
.projects__faces { display: flex; }
.projects__faces img {
width: 2rem;
height: 2rem;
border: 2px solid var(--tint);
border-radius: var(--pill);
object-fit: cover;
object-position: 50% 22%;
}
.projects__faces img + img { margin-left: -0.5rem; }
.projects__picture {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 40%;
filter: grayscale(1) contrast(1.1);
transform: scale(1.4);
}
.projects__slip {
position: relative;
margin: 0 var(--space-s);
padding: var(--space-m);
border-radius: var(--radius-card) var(--radius-card) 0 0;
background: var(--lilac);
color: var(--lilac-ink);
}
.projects__slip .projects__name { margin-bottom: 0; }
.projects__thumb {
margin: auto 0 0;
aspect-ratio: 4 / 3;
border-radius: var(--radius-bubble);
overflow: hidden;
}
.projects__thumb img {
width: 100%;
height: 100%;
object-fit: cover;
mix-blend-mode: multiply;
filter: grayscale(1) contrast(1.1);
}
.projects__all:focus-visible { outline: 2px solid var(--lilac-ink); outline-offset: 3px; }
@media (max-width: 64rem) {
.projects__rail {
grid-template-columns: none;
grid-auto-flow: column;
grid-auto-columns: minmax(15.5rem, 42%);
overflow-x: auto;
scroll-snap-type: x mandatory;
margin-inline: calc(var(--edge) * -1);
padding: 0 var(--edge) var(--space-s);
scroll-padding-inline: var(--edge);
}
.projects__card { scroll-snap-align: start; min-height: 24rem; }
}
@media (max-width: 30rem) {
.projects__rail { grid-auto-columns: 82%; }
}
</style>