Statement
A giant condensed sentence with small rounded clips set inline between its words, each one playing on hover.
Part of the style
Clip Over Headline
6 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/clip-over-headline/statement/figma.html?palette=8fdd47bf7f8abcbc
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/clip-over-headline/statement/figma.html?palette=8fdd47bf7f8abcbc and pass that whole HTML document to the html_to_figma tool, so the part "Statement" 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 {
--ink: #f0f0f0;
--black: #ffffff;
--paper: #244998;
--chip: #31559f;
--chip-hover: #3b5ea4;
--ink-soft: #aac1ee;
--line: #3d60a5;
--on-signal: #e4edff;
--sky: #586690;
--signal: #586690;
--mint: #505b78;
--screen-top: #5f6472;
--screen-bottom: #3c445a;
--stop: #9fafdc;
}
</style>
<section class="statement" aria-labelledby="statement-title">
<p class="statement__label">What we do, roughly</p>
<h2 class="statement__text" id="statement-title">
We point one camera at
<a class="statement__clip" href="#" aria-label="Play: Owl at dusk">
<img class="statement__picture" src="assets/owl.jpg" alt="" width="544" height="800">
<span class="statement__disc" aria-hidden="true"><svg viewBox="0 0 100 100"><path d="M38 28 L72 50 L38 72 Z" /></svg></span>
</a>
one owl and wait until
<a class="statement__clip" href="#" aria-label="Play: The heron waits">
<img class="statement__picture" src="assets/heron.jpg" alt="" width="607" height="800">
<span class="statement__disc" aria-hidden="true"><svg viewBox="0 0 100 100"><path d="M38 28 L72 50 L38 72 Z" /></svg></span>
</a>
something happens.
</h2>
<p class="statement__foot">Nothing is sped up. Nothing is cut. Twelve films a season, each as long as the animal needs.</p>
</section>
<style>
.statement {
padding: var(--section-space) var(--edge);
text-align: center;
}
.statement__label,
.statement__foot {
max-width: 34em;
margin: 0 auto;
font-size: var(--text-m);
line-height: var(--text-leading);
}
.statement__label {
display: inline-block;
margin-bottom: var(--space-l);
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius-chip);
background: var(--chip);
}
.statement__foot {
margin-top: var(--space-l);
color: var(--ink-soft);
}
.statement__text {
max-width: 12em;
margin: 0 auto;
color: var(--ink);
font-family: var(--font-display);
font-size: var(--display-l);
font-weight: 500;
line-height: var(--display-leading);
letter-spacing: var(--display-tracking);
text-wrap: balance;
}
.statement__clip {
position: relative;
display: inline-grid;
place-items: center;
width: 1.35em;
height: 0.78em;
margin: 0 0.04em;
vertical-align: -0.02em;
border-radius: var(--radius-clip);
overflow: hidden;
background: linear-gradient(180deg, var(--screen-top), var(--screen-bottom));
transition: width var(--time) var(--ease-out), border-radius var(--time) var(--ease-out);
}
.statement__picture {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 30%;
mix-blend-mode: multiply;
filter: contrast(1.1);
transition: scale var(--slow) var(--ease-out);
}
.statement__disc {
position: relative;
display: grid;
width: 0.5em;
height: 0.5em;
border-radius: var(--radius-round);
background: var(--signal);
opacity: 0;
scale: 0.6;
transition: opacity var(--time) var(--ease), scale var(--slow) var(--ease-out);
}
.statement__disc svg { width: 100%; height: 100%; fill: var(--on-signal); }
.statement__clip:is(:hover, :focus-visible) { width: 1.7em; }
.statement__clip:is(:hover, :focus-visible) .statement__picture { scale: 1.12; }
.statement__clip:is(:hover, :focus-visible) .statement__disc { opacity: 1; scale: 1; }
.statement__clip:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
@media (max-width: 640px) {
.statement__clip { min-height: 44px; }
}
</style>