Split hero

Headline and two actions on the left, a product window on the right. Stacks on mobile.

Open preview
snippet.html70 lines
<section class="sh">
  <div class="sh__copy">
    <p class="sh__eyebrow">Release 2.0</p>
    <h1 class="sh__title">Ship the boring parts in an afternoon.</h1>
    <p class="sh__body">Auth, billing and email wired up the way you would have done it, so the week goes to the part only you can build.</p>
    <div class="sh__actions">
      <a class="sh__btn sh__btn--solid" href="#">Start building</a>
      <a class="sh__btn" href="#">Read the docs</a>
    </div>
  </div>
  <div class="sh__window" aria-hidden="true">
    <div class="sh__bar"><i></i><i></i><i></i></div>
    <div class="sh__screen">
      <div class="sh__side"><b></b><b></b><b></b><b></b></div>
      <div class="sh__main">
        <div class="sh__stat"><span>Revenue</span><strong>$48,210</strong></div>
        <div class="sh__chart">
          <s style="--h:40%"></s><s style="--h:55%"></s><s style="--h:48%"></s><s style="--h:70%"></s><s style="--h:62%"></s><s style="--h:85%"></s><s style="--h:78%"></s>
        </div>
      </div>
    </div>
  </div>
</section>

<style>
  .sh {
    --sh-ink: #1c1917;
    --sh-muted: #78716c;
    --sh-line: #e7e5e4;
    --sh-accent: #ea580c;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
    font-family: ui-sans-serif, system-ui, sans-serif;
    color: var(--sh-ink);
  }
  .sh__eyebrow { margin: 0 0 1rem; font-size: 0.8125rem; font-weight: 600; color: var(--sh-accent); letter-spacing: 0.04em; text-transform: uppercase; }
  .sh__title { margin: 0; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
  .sh__body { margin: 1.25rem 0 2rem; max-width: 46ch; font-size: 1.125rem; line-height: 1.55; color: var(--sh-muted); }
  .sh__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
  .sh__btn {
    padding: 0.8rem 1.25rem; border-radius: 8px; border: 1px solid var(--sh-line);
    font-weight: 500; text-decoration: none; color: var(--sh-ink); background: #fff;
  }
  .sh__btn--solid { background: var(--sh-ink); border-color: var(--sh-ink); color: #fff; }
  .sh__window {
    border: 1px solid var(--sh-line); border-radius: 14px; background: #fff; overflow: hidden;
    box-shadow: 0 30px 60px -30px rgb(28 25 23 / 0.35);
  }
  .sh__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--sh-line); }
  .sh__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--sh-line); }
  .sh__screen { display: grid; grid-template-columns: 120px 1fr; min-height: 320px; }
  .sh__side { display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; border-right: 1px solid var(--sh-line); background: #fafaf9; }
  .sh__side b { height: 10px; border-radius: 4px; background: var(--sh-line); }
  .sh__side b:first-child { background: var(--sh-ink); width: 70%; }
  .sh__main { padding: 20px; display: flex; flex-direction: column; gap: 20px; }
  .sh__stat span { display: block; font-size: 0.75rem; color: var(--sh-muted); }
  .sh__stat strong { font-size: 1.75rem; letter-spacing: -0.02em; }
  .sh__chart { flex: 1; display: flex; align-items: flex-end; gap: 10px; min-height: 160px; }
  .sh__chart s { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, var(--sh-accent), #fdba74); }
  @media (max-width: 820px) {
    .sh { grid-template-columns: 1fr; }
    .sh__screen { grid-template-columns: 1fr; }
    .sh__side { display: none; }
  }
</style>

Kind
Section
Category
Hero
Added
5 Nov 2026
Canvas
Full width
File
snippet.html
Size
70 lines · 3.5 KB
  • light
  • saas
  • two-column

One file: HTML, a style block and, when needed, a small script. Paste it anywhere. Nothing to install.