kitbash Sign in Connect agent
Components

Welcome statement

A large grotesk paragraph across the full width with a tiny sprout perched on one word and an italic serif variable.

Part of the style

Puffy Wordmark Cream

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

Preview

Code
<section class="welcome">
  <p class="welcome__text">
    Pull up a chair at Mallow. We’re a small kitchen of
    <span class="welcome__perch">garden<svg class="welcome__sprout" viewBox="0 0 24 24" width="22" height="22" aria-hidden="true"><path d="M12 22V12M12 12c0-5 3-8 9-8 0 5-3 8-9 8zM12 14C12 10 9.5 8 4 8c0 4 2.5 6 8 6z"/></svg></span>-minded designers
    whose job is to find the flavour in a brand, add a pinch of <i class="welcome__var">y</i>, and serve it to people
    who didn’t know they were hungry. Mind the crumbs!
  </p>
</section>

<style>
  .welcome {
    padding: var(--space-l) var(--edge) var(--section-space);
  }
  .welcome__text {
    max-width: 64rem;
    margin: 0;
    font-size: var(--text-l);
    line-height: 1.15;
    letter-spacing: var(--track-tight);
    opacity: 0;
    translate: 0 16px;
    transition: opacity var(--medium) var(--ease-out), translate var(--medium) var(--ease-out);
  }
  .welcome.is-seen .welcome__text { opacity: 1; translate: 0 0; }
  .welcome__perch { position: relative; }
  .welcome__sprout {
    position: absolute;
    top: -0.42em;
    left: 50%;
    width: 0.55em;
    height: 0.55em;
    translate: -50% 0;
    transform-origin: 50% 100%;
    animation: welcome-sway 3s ease-in-out infinite;
  }
  .welcome__sprout path {
    fill: var(--sprout);
    stroke: var(--sprout);
    stroke-width: 2;
    stroke-linecap: round;
  }
  .welcome__var {
    font-family: var(--font-math);
    letter-spacing: 0;
  }
  @keyframes welcome-sway {
    0%, 100% { rotate: -8deg; }
    50% { rotate: 8deg; }
  }
  @media (prefers-reduced-motion: reduce) {
    .welcome__text { opacity: 1; translate: none; transition: none; }
    .welcome__sprout { animation: 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 });
  for (const root of document.querySelectorAll('.welcome')) seen.observe(root);
})();
</script>

Similar components

Red flood studio

Red flood studio

Dictionary entry

Dictionary entry

Black statement

Black statement

Centred statement

Centred statement

Wiped statement

Wiped statement

Project chapter

Project chapter

Case study flood

Case study flood

Statement

Statement