Full-bleed arrival
A close-up photograph edge to edge that fades up from black, with a centred eyebrow, tall title and underlined link.
Part of the style
Tall Caps Showroom
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/tall-caps-showroom/hero/figma.html?palette=bc3c15bc00a286f1
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/tall-caps-showroom/hero/figma.html?palette=bc3c15bc00a286f1 and pass that whole HTML document to the html_to_figma tool, so the part "Full-bleed arrival" 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: #5e352b;
--ink-soft: rgba(94, 53, 43, 0.65);
--paper: #d5e8e6;
--paper-soft: rgba(213, 232, 230, 0.65);
--tile: #cee2e0;
--rule: rgba(94, 53, 43, 0.18);
--rule-dark: rgba(213, 232, 230, 0.28);
--scrim: rgba(94, 53, 43, 0.32);
}
</style>
<section class="hero">
<div class="hero__frame">
<img class="hero__picture" src="assets/carpet-field.jpg" alt="Close view of a knotted wool carpet in rust, ochre and indigo" width="1047" height="1200">
</div>
<div class="hero__copy">
<p class="hero__eyebrow">Arriving this autumn</p>
<h1 class="hero__title">The Wool Room</h1>
<a class="hero__link" href="#">Shop the edit</a>
</div>
</section>
<style>
.hero {
position: relative;
display: grid;
place-items: end center;
min-height: clamp(30rem, 56vw, 54rem);
overflow: hidden;
background: var(--ink);
color: var(--paper);
isolation: isolate;
}
.hero__frame {
position: absolute;
inset: 0;
z-index: -1;
animation: hero-rise var(--reveal) var(--ease) 150ms both;
}
.hero__frame::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(ellipse 60% 45% at 50% 72%, var(--scrim), transparent 70%);
}
.hero__picture {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 40%;
transform: scale(1.9);
transform-origin: 46% 38%;
}
.hero__copy {
display: grid;
justify-items: center;
gap: var(--space-s);
padding: 0 var(--edge) clamp(3rem, 9vw, 7.5rem);
text-align: center;
animation: hero-copy var(--reveal) var(--ease) 600ms both;
}
.hero__eyebrow {
margin: 0;
font-family: var(--font-label);
font-size: var(--label-xs);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.hero__title {
margin: 0;
font-family: var(--font-display);
font-size: var(--display-xl);
font-weight: 400;
line-height: 1.02;
letter-spacing: var(--track-display);
text-transform: uppercase;
text-wrap: balance;
}
.hero__link {
display: inline-flex;
align-items: center;
min-height: 44px;
color: inherit;
text-decoration: none;
font-family: var(--font-label);
font-size: var(--label-xs);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 0.75rem) / 100% var(--rule-thin);
transition: background-size var(--underline) var(--ease-io);
}
.hero__link:hover,
.hero__link:focus-visible {
background-size: 0 var(--rule-thin);
background-position-x: 100%;
}
.hero__link:focus-visible {
outline: var(--rule-thin) solid var(--paper);
outline-offset: 4px;
}
@keyframes hero-rise {
from { opacity: 0; transform: scale(1.06); }
to { opacity: 1; transform: scale(1); }
}
@keyframes hero-copy {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
.hero__frame, .hero__copy { animation: none; }
}
</style>