kitbash Sign in Connect agent
Components

Painted scene hero

A full-bleed picture with a tracked eyebrow, a large light serif line set to the right and a cream pill button.

Part of the style

Peach Blob Starburst

7 parts that belong together, with their tokens, type and rules.

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #1d0c0b;
  --ink-soft: #3e0307;
  --paper: #f15b29;
  --paper-bright: #f55e2d;
  --peach: #eb5928;
  --mist: #ef5a29;
  --on-navy: #fc8e6c;
  --veil: rgba(29, 12, 11, 0.5);
  --finish-chalk: #f45d2c;
  --navy: #480402;
  --sky: #efbab1;
  --sage: #c1726e;
  --tangerine: #ad7472;
  --finish-honey: #9e7f7d;
  --finish-walnut: #826867;
}
</style>

<section class="hero">
  <img class="hero__picture" src="assets/hero-garden.jpg" alt="A painted summer garden path lined with blue pots, a small child standing in the sun" width="1200" height="980">
  <div class="hero__copy">
    <p class="hero__eyebrow">Planted this season</p>
    <h1 class="hero__title">A little dirt, every day</h1>
    <a class="hero__button" href="#">Start a patch</a>
  </div>
</section>

<style>
  .hero {
    position: relative;
    display: grid;
    min-height: clamp(520px, 56vw, 800px);
    margin-top: -70px;
    overflow: hidden;
    background: var(--peach);
  }
  .hero__picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(250deg, rgba(10, 10, 10, 0.32), transparent 46%);
    pointer-events: none;
  }
  .hero__copy {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: end;
    align-content: start;
    gap: var(--space-s);
    width: min(36rem, 100%);
    margin-left: auto;
    padding: calc(70px + clamp(48px, 7vw, 120px)) clamp(20px, 6vw, 100px) var(--section-space) var(--edge);
    color: var(--on-navy);
    text-align: right;
  }
  .hero__eyebrow {
    margin: 0;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
  }
  .hero__title {
    margin: 0 0 var(--space-s);
    font-family: var(--font-display);
    font-variation-settings: var(--display-soft);
    font-size: var(--display-l);
    font-weight: var(--display-weight);
    letter-spacing: 0;
    line-height: 1.05;
    text-wrap: balance;
    text-shadow: 0 1px 18px rgba(10, 10, 10, 0.25);
  }
  .hero__button {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: var(--radius-pill);
    background: var(--paper-bright);
    color: var(--ink);
    font-size: var(--text-s);
    font-weight: 500;
    text-decoration: none;
    transition: background-color var(--time) var(--ease), color var(--time) var(--ease);
  }
  .hero__button:hover,
  .hero__button:focus-visible {
    background: var(--navy);
    color: var(--on-navy);
  }
  .hero__button:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 3px;
  }
  @media (max-width: 640px) {
    .hero { min-height: 600px; }
    .hero__picture { object-position: 30% 50%; }
    .hero__copy { padding-right: var(--edge); }
  }
</style>

Similar components

Typing hero with window

Typing hero with window

Full-bleed arrival

Full-bleed arrival

Phone stage hero

Phone stage hero

Swinging badge hero

Swinging badge hero

Fitted headline sheet

Fitted headline sheet

Hero

Hero

Particle halo hero

Particle halo hero

Hero with card feed

Hero with card feed