kitbash Sign in Connect agent
Components

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.

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #030204;
  --ink-soft: rgba(3, 2, 4, 0.65);
  --paper: #bec3c3;
  --paper-soft: rgba(190, 195, 195, 0.65);
  --tile: #b6bbbb;
  --rule: rgba(3, 2, 4, 0.18);
  --rule-dark: rgba(190, 195, 195, 0.28);
  --scrim: rgba(3, 2, 4, 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>

Similar components

Centred hero with foil word

Centred hero with foil word

Painted scene hero

Painted scene hero

Spectrum letters hero

Spectrum letters hero

Hero with card feed

Hero with card feed

Backlit silhouette

Backlit silhouette

Table hero

Table hero

Hero

Hero

Mark and standfirst

Mark and standfirst