kitbash Sign in Connect agent
Components

Sticker follow line

A tilted lime sticker badge that wobbles on hover above a centred two-line ask with an underlined handle.

Part of the style

Puffy Wordmark Cream

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #fbf4ee;
  --paper: #251a1a;
  --cream: #251a1a;
  --veil: rgba(137, 125, 125, 0.2);
  --clay: #87645e;
  --clay-dark: #664741;
  --sprout: #87645e;
  --sticker: #7e635e;
  --sky: #87645e;
}
</style>

<section class="follow">
  <a class="follow__sticker" href="#" aria-label="Seeds first, slogans later: read the garden notes">
    <svg viewBox="0 0 220 150" width="220" height="150" aria-hidden="true">
      <rect class="follow__shadow" x="10" y="12" width="204" height="134" rx="14"/>
      <rect class="follow__face" x="4" y="4" width="204" height="134" rx="14"/>
      <g class="follow__plant">
        <path d="M60 116V78"/>
        <path class="follow__leaf" d="M60 84c0-18 12-30 34-30 0 18-12 30-34 30z"/>
        <path class="follow__leaf" d="M60 92C60 76 50 66 28 66c0 16 10 26 32 26z"/>
        <path class="follow__pot" d="M38 112h44l-6 22H44z"/>
      </g>
      <text class="follow__words" x="100" y="50">Seeds</text>
      <text class="follow__words" x="100" y="72">first,</text>
      <text class="follow__words" x="100" y="94">slogans</text>
      <text class="follow__words" x="100" y="116">later?</text>
    </svg>
  </a>
  <p class="follow__text">
    We’ve got plans for the garden.<br>
    Follow along <a class="follow__handle" href="#">@mallowgrows</a>
  </p>
</section>

<style>
  .follow {
    display: grid;
    justify-items: center;
    gap: var(--space-l);
    padding: var(--section-space) var(--edge);
    text-align: center;
  }
  .follow__sticker {
    display: block;
    width: clamp(10rem, 20vw, 14rem);
    rotate: -4deg;
    transition: rotate var(--quick) var(--ease), scale var(--quick) var(--ease);
  }
  .follow__sticker svg { width: 100%; height: auto; }
  .follow__sticker:hover,
  .follow__sticker:focus-visible { rotate: 3deg; scale: 1.05; }
  .follow__sticker:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: var(--radius); }
  .follow__shadow { fill: var(--ink); }
  .follow__face { fill: var(--sticker); stroke: var(--ink); stroke-width: 3; }
  .follow__plant path {
    fill: none;
    stroke: var(--ink);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .follow__plant .follow__leaf { fill: var(--sprout); }
  .follow__plant .follow__pot { fill: var(--clay); }
  .follow__words {
    fill: var(--ink);
    font: 400 18px var(--font-math);
    font-style: italic;
  }
  .follow__text {
    margin: 0;
    font-size: var(--text-l);
    line-height: 1.15;
    letter-spacing: var(--track-tight);
  }
  .follow__handle {
    display: inline-block;
    min-height: 44px;
    color: inherit;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.12em;
    transition: opacity var(--quick) var(--ease);
  }
  .follow__handle:hover { opacity: 0.6; }
  .follow__handle:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

  @media (prefers-reduced-motion: reduce) {
    .follow__sticker { transition: none; }
  }
</style>

Similar components

Green pill sign-off

Green pill sign-off

Black closer

Black closer

Studio note

Studio note

Collection banner

Collection banner

Closing line

Closing line

Green ways to start

Green ways to start

Quiet invitation

Quiet invitation

Contact tile

Contact tile