Statement with pills
A heavy four-line statement in off-white with a row of hairline discipline pills beneath it.
Part of the style
Lights-Out Pill Index
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/lights-out-pill-index/statement/figma.html?palette=ff98fce80da04497
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/lights-out-pill-index/statement/figma.html?palette=ff98fce80da04497 and pass that whole HTML document to the html_to_figma tool, so the part "Statement with pills" 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: #334493;
--paper-raised: #364896;
--tile: #3c4e9a;
--veil: rgba(51, 68, 147, 0.76);
--ink: #fff2f1;
--ink-soft: rgba(255, 236, 235, 0.58);
--line: rgba(255, 236, 235, 0.14);
--line-strong: rgba(255, 236, 235, 0.32);
--pill-fill: rgba(255, 236, 235, 0.1);
--day-paper: #feedec;
--day-ink: #334493;
--glow-a: #a95858;
--glow-b: #a16866;
}
</style>
<section class="statement">
<p class="statement__label">ABOUT / 00 / POSITION</p>
<h2 class="statement__text">Plain on the surface. Careful underneath. Enough of a system to repeat itself. Enough slack to surprise.</h2>
<ul class="statement__tags" aria-label="Disciplines">
<li><a class="statement__tag" href="#">Identity</a></li>
<li><a class="statement__tag" href="#">Art Direction</a></li>
<li><a class="statement__tag" href="#">Interface</a></li>
<li><a class="statement__tag" href="#">Type Systems</a></li>
<li><a class="statement__tag" href="#">Motion</a></li>
</ul>
</section>
<style>
.statement {
padding: var(--section-space) var(--edge);
}
.statement__label {
margin: 0 0 var(--space-l);
color: var(--ink-soft);
font-size: var(--text-xs);
line-height: 1;
letter-spacing: var(--track-caps);
}
.statement__text {
max-width: 18.5em;
margin: 0 0 var(--space-l);
font-family: var(--font-display);
font-size: var(--display-l);
font-weight: 800;
line-height: 1;
letter-spacing: -0.012em;
}
.statement__tags {
display: flex;
flex-wrap: wrap;
gap: 0 var(--space-s);
margin: 0;
padding: 0;
list-style: none;
}
.statement__tag {
position: relative;
display: inline-flex;
align-items: center;
min-height: var(--tap);
padding: 0 21px;
color: var(--ink);
font-size: var(--text-s);
text-decoration: none;
}
.statement__tag::before {
content: "";
position: absolute;
inset: calc((var(--tap) - var(--pill-h)) / 2) 0;
z-index: -1;
border: var(--rule) solid var(--line);
border-radius: var(--radius-pill);
transition: border-color var(--quick) var(--ease), background-color var(--quick) var(--ease);
}
.statement__tag:hover::before,
.statement__tag:focus-visible::before {
border-color: var(--line-strong);
background-color: var(--pill-fill);
}
.statement__tag:focus-visible {
outline: none;
}
.statement__tags li {
position: relative;
z-index: 0;
}
</style>