kitbash Sign in Connect agent
Components

Cut-out shape feature

A split block on peach: a turning sky starburst, a tangerine petal and a sage outline arch around a centred serif headline and navy pill, the picture on the right.

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: #fff2f1;
  --ink-soft: #f7bebc;
  --paper: #334493;
  --paper-bright: #30418f;
  --peach: #374996;
  --mist: #354694;
  --on-navy: #2f3f8d;
  --veil: rgba(255, 242, 241, 0.5);
  --finish-chalk: #314290;
  --navy: #fdb4b1;
  --sky: #634342;
  --sage: #74415c;
  --tangerine: #a95858;
  --finish-honey: #885e5c;
  --finish-walnut: #9c7674;
}
</style>

<section class="feature">
  <svg class="feature__burst" viewBox="0 0 100 100" aria-hidden="true"><polygon points="50.0,3.8 57.5,19.6 71.8,8.5 71.1,26.2 89.6,22.7 75.7,40.2 94.7,44.6 83.5,54.1 93.3,66.4 73.8,66.4 83.1,87.4 64.3,77.2 61.8,97.8 50.0,80.8 38.5,96.8 36.9,75.0 18.1,86.1 22.1,69.3 5.5,66.9 17.3,54.0 2.0,44.2 24.3,40.2 9.8,22.3 29.0,26.3 28.4,8.8 43.5,23.5"/></svg>
  <div class="feature__copy">
    <p class="feature__eyebrow feature__item">Meet the Patch Club</p>
    <h2 class="feature__title feature__item">Muddy Hands, Happy Plans</h2>
    <p class="feature__text feature__item">A box of seeds and one small job a month, chosen for the season and for the size of the person doing it.</p>
    <a class="feature__button feature__item" href="#">Join the club</a>
    <svg class="feature__petal" viewBox="0 0 90 64" aria-hidden="true"><path d="M8 30C2 16 12 2 24 6c6 2 8 8 10 12 2-8 10-16 20-13 8 3 9 12 7 18 8-4 20-3 24 6 4 10-4 22-18 26-18 6-40 6-52-4C8 47 10 38 8 30z"/></svg>
  </div>
  <div class="feature__media">
    <img class="feature__picture" src="assets/garden-party.jpg" alt="An etching of children playing on a lawn under trees" width="643" height="1000">
  </div>
  <svg class="feature__arch" viewBox="0 0 320 200" aria-hidden="true"><path d="M14 186C10 100 60 18 150 14c80-4 140 50 154 130l-30 6C260 90 216 52 152 54 88 56 50 110 54 180z" fill="none" stroke-width="7" stroke-linejoin="round"/></svg>
</section>

<style>
  .feature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-l) var(--edge);
    overflow: hidden;
    background: var(--peach);
  }
  .feature__burst {
    position: absolute;
    top: 14%;
    left: -46px;
    width: clamp(120px, 11vw, 160px);
    fill: var(--sky);
    animation: feature-turn var(--spin) linear infinite;
    animation-play-state: paused;
  }
  .feature.is-live .feature__burst { animation-play-state: running; }
  @keyframes feature-turn { to { rotate: 360deg; } }
  .feature__copy {
    position: relative;
    display: grid;
    justify-items: center;
    gap: var(--space-s);
    padding: var(--space-xl) 0;
    text-align: center;
  }
  .feature__eyebrow {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
  }
  .feature__title {
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: var(--display-soft);
    font-size: var(--display-m);
    font-weight: var(--display-weight);
    letter-spacing: 0;
    line-height: 1.15;
    text-wrap: balance;
  }
  .feature__text {
    max-width: 30rem;
    margin: 0 0 var(--space-s);
    font-size: var(--text-m);
    line-height: 1.65;
  }
  .feature__button {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: var(--radius-pill);
    background: var(--navy);
    color: var(--on-navy);
    font-size: var(--text-s);
    font-weight: 600;
    text-decoration: none;
    transition: opacity var(--time) var(--ease);
  }
  .feature__button:hover { opacity: 0.85; }
  .feature__button:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
  .feature__petal {
    width: 86px;
    margin-top: var(--space-l);
    fill: var(--tangerine);
    rotate: -8deg;
  }
  .feature__media {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-bright);
  }
  .feature__picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    scale: 1.35;
    mix-blend-mode: multiply;
  }
  .feature__arch {
    position: absolute;
    left: calc(45% - 110px);
    bottom: 4%;
    z-index: 2;
    width: clamp(160px, 22vw, 320px);
    stroke: var(--sage);
    pointer-events: none;
  }
  .feature__item {
    opacity: 0;
    translate: 0 16px;
    transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
    transition-delay: calc(var(--order, 0) * 80ms);
  }
  .feature.is-seen .feature__item { opacity: 1; translate: 0 0; }

  @media (max-width: 800px) {
    .feature {
      grid-template-columns: none;
      gap: 0;
      padding-top: var(--space-l);
    }
    .feature__burst { top: var(--space-l); left: -40px; width: 110px; }
    .feature__arch { left: auto; right: -30px; bottom: 30%; width: 150px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .feature__burst { animation: none; }
    .feature__item { opacity: 1; translate: none; transition: none; }
  }
</style>

<script>
(() => {
  const seen = new IntersectionObserver((entries) => {
    for (const entry of entries) {
      if (!entry.isIntersecting) continue;
      entry.target.classList.add('is-seen');
      seen.unobserve(entry.target);
    }
  }, { threshold: 0.15 });
  const live = new IntersectionObserver((entries) => {
    for (const entry of entries) entry.target.classList.toggle('is-live', entry.isIntersecting);
  });
  for (const root of document.querySelectorAll('.feature')) {
    root.querySelectorAll('.feature__item').forEach((item, order) => item.style.setProperty('--order', order));
    seen.observe(root);
    live.observe(root);
  }
})();
</script>

Similar components

Floating card feature

Floating card feature

Dock teaser

Dock teaser

Collection banner

Collection banner

Figure with call to action

Figure with call to action

Quiet invitation

Quiet invitation

Studio note

Studio note

Drifting wall call

Drifting wall call

Green pill sign-off

Green pill sign-off