Hero Section Layouts: A Complete Guide for Designers and Developers
Every hero layout pattern worth using, with inline HTML/CSS examples you can copy. Learn when to use a split hero vs a centered hero, why full-viewport centered heroes are the #1 AI-slop tell, and how to bias your layout for real impact.
The hero section is the first thing a visitor sees. It sets the tone, communicates value, and drives the primary action. Yet most hero sections on the web today look identical — and that's because most are generated by AI tools defaulting to the same template: full-viewport height, centered text, gradient background, one headline, one button.
This guide covers every hero layout pattern worth using, with live inline HTML/CSS examples you can inspect and copy. For each pattern, you'll learn when to use it, when to avoid it, and how to implement it.
Every example below is rendered as live HTML+CSS inline in this page. Right-click → Inspect to see the code. Copy freely.
The problem with the default AI hero
Before we cover good patterns, here's the pattern to avoid — the one every AI tool ships by default:
Build Faster
The all-in-one platform for everything.
This is the single most-recognised AI aesthetic. The purple-to-blue gradient. The centered everything. The single sentence. The one button. Audiences pattern-match this in milliseconds. If your hero looks like this, you've lost before you've made your case.
The fix isn't to add more — it's to make a deliberate structural choice. Here are the patterns that work.
1. The Split Hero (copy left, visual right)
The split hero divides the fold into two columns: copy on the left, a visual element (product screenshot, illustration, demo) on the right. It's the most versatile pattern — works for SaaS, dev tools, agencies, and e-commerce. The asymmetry is intentional and reads as 'designed.'
When to use it
- You have a product screenshot or visual to show
- Your headline is longer than 5 words
- You want to show the product, not just describe it
- SaaS, developer tools, design tools, agencies
Example
Design systems,
without the busywork.
Generate tokens, components, and themes from one seed color. Ship in minutes, not sprints.
--color-brand-600: #6d28d9
--radius-md: 8px
--text-base: 1rem
Key principles
- Left column: eyebrow badge, headline, subtext, CTA(s) — left-aligned, not centered.
- Right column: a real product visual, not a stock photo. If you don't have one, use a code snippet or a styled mockup.
- The headline should be 2-3 lines maximum. If it runs longer, trim it.
- One primary CTA (solid fill) + one secondary CTA (outline or ghost). Never three.
2. The Asymmetric Hero (intentional imbalance)
The asymmetric hero breaks symmetry deliberately — a wide left margin with a narrow right column, or a visual that bleeds off one edge. The point is that the imbalance reads as a design decision, not an accident.
When to use it
- Editorial sites, portfolios, agency sites
- When you want to feel 'designed,' not 'templated'
- When your brand is about craft, not utility
Example
Key principles
- Use a display serif or a distinctive sans for the headline — never Inter alone.
- The imbalance should be extreme: 2:1 or 3:1 column ratio, not 55:45.
- Let the visual bleed to the edge — don't add equal padding everywhere.
- Use editorial signals: issue numbers, dates, section labels. These signal 'publication,' not 'landing page.'
3. The Stat-Led Hero (one number, then the story)
The stat-led hero opens with a real number — not a fabricated one. The number is the headline. The rest of the hero explains what it means. This pattern works when you have a genuine metric that matters to your audience.
When to use it
- You have a real, verifiable statistic (not '10x faster' — something you can source)
- Analytics tools, fintech, infrastructure, performance-focused products
- When the number IS the value proposition
Never invent stats. If you don't have a real number, don't use this pattern. A fabricated '47% conversion increase' is slop the moment it's invented. Use a placeholder (—) or pick a different hero pattern.
Example
p99 API response time, globally.
Measured across 12 regions, 4.2 billion requests, 30-day window. No caching, no edge — just the raw response.
Key principles
- The number must be real and sourced. Link to the methodology.
- The number should be large — 64-96px. It's the hero, not the supporting copy.
- Pair the number with one line of context (what it measures) and one line of proof (how it was measured).
- Use a contrasting accent color for the number. The background should be solid, not gradient.
4. The Typographic Hero (words are the design)
The typographic hero has no image, no illustration, no product mockup. The headline IS the visual. This works when your headline is strong enough to carry the page — and when your typography is distinctive enough to make it interesting.
When to use it
- Manifestos, philosophy pages, about pages
- When you don't have a visual product (services, consulting, writing)
- When your brand voice IS the product
- When you want to feel quiet and confident, not loud and salesy
Example
We make tools for people who care about the details they'll never be thanked for.
No dashboards. No 'AI-powered' badges. Just the things you need, built right, and shipped when they're ready.
See what we've made →Key principles
- Use a display face (serif or a distinctive sans). Inter alone is not enough.
- The headline should be opinionated, not descriptive. 'We make tools' is better than 'The best platform.'
- Emphasis via italic, weight, or accent color — never gradient text (it's the #1 AI tell).
- Keep it quiet: one CTA link, not a button. Let the words do the work.
5. The Product-First Hero (show, don't tell)
The product-first hero leads with a real, interactive (or interactive-looking) product element. The copy is secondary — a small label above or below the product. This pattern says 'don't read about it, just look at it.'
When to use it
- Developer tools, IDE extensions, design tools
- When the product IS the value proposition (not the marketing copy)
- When a 5-second look at the product communicates more than 50 words
Example
Key principles
- The product visual should be real, not a mockup of a mockup. If it's a terminal tool, show a terminal. If it's a design tool, show the canvas.
- Copy is minimal — one line above, one CTA below. The product speaks for itself.
- Use the product's actual color scheme. Don't impose a marketing palette.
- If you can make it interactive, do it. A working demo beats a screenshot.
6. The Quote-Led Hero (someone else's words)
The quote-led hero opens with a real testimonial or pull quote — not a headline you wrote about yourself. The quote carries the page. Your product name and CTA sit below, quietly.
When to use it
- When you have a genuine, specific testimonial (not 'amazing product!' — a real sentence about a real outcome)
- B2B products, consulting, services
- When social proof is stronger than your own copy could ever be
Example
"We replaced our entire CI pipeline in a weekend. Three weeks later, deploy times dropped from 23 minutes to 90 seconds. The team stopped dreading releases."
Key principles
- The quote must be specific (numbers, outcomes, timeframe). Vague praise is useless.
- Attribution matters: name, title, company. If you can't attribute it, don't use it.
- Use a serif for the quote and a sans for the attribution — the contrast signals 'this is someone else's voice.'
- The CTA is quiet — a single solid button. No gradient, no urgency banner.
7. The Bento Hero (grid of cards)
The bento hero uses an asymmetric grid of cards — each card a different size, each showing a different aspect of the product. It's visually rich and communicates 'there's a lot here' without overwhelming. Popularized by Apple's product pages.
When to use it
- Feature-rich products where no single feature is the hero
- When you want to show breadth, not depth
- Design tools, productivity apps, platforms with multiple use cases
Example
Design tokens, generated.
From one seed color to a full system in seconds.
Key principles
- Vary card sizes — one large (2x2), a few medium (1x1). Equal-size cards are a grid, not a bento.
- Each card shows a different thing: a number, a feature name, a mini-visual. Don't repeat the same idea in different words.
- The largest card should be the most important feature — the one you'd put in a headline if you could only have one.
- Keep the grid to 4-6 cards. More than 6 is a dashboard, not a hero.
When to NOT use a hero at all
Not every page needs a hero. Documentation pages, settings screens, dashboards, and internal tools don't benefit from a marketing-style hero — they need to get out of the user's way.
- Docs: lead with a search bar and a table of contents, not a hero.
- Dashboards: lead with the data, not a headline about the data.
- Settings: lead with the form fields, not a 'Manage your settings' headline.
- Internal tools: no hero. Ever. The user is already convinced — they're logged in.
Quick reference: which hero for which product
| Product type | Best hero | Why |
|---|---|---|
| SaaS / B2B | Split Hero | Show the product + explain the value |
| Developer tool | Product-First | Developers want to see it work, not read about it |
| Agency / Portfolio | Asymmetric | Asymmetry signals design craft |
| Analytics / Infra | Stat-Led | The number IS the pitch |
| Consulting / Services | Quote-Led | Social proof > self-description |
| Manifesto / About | Typographic | The words are the product |
| Platform (many features) | Bento | Show breadth without a single headline |
The anti-slop checklist for any hero
Whatever pattern you choose, run your hero through this checklist before shipping:
- No purple-to-blue gradient background. Pick a solid surface or a single-hue tint.
- No gradient text. Use weight, a display face, or an accent color for emphasis.
- Not everything centered. Bias left or right. Break symmetry at least once.
- No fabricated metrics. If you show a number, it must be real and sourced.
- No 3-equal-column feature grid below the hero. That's a separate section — and it should be asymmetric, not templated.
- One primary CTA. A second is fine (outline). Three is clutter.
- The headline fits in 2-3 lines. If it's longer, you're writing a paragraph, not a headline.
- Mobile: the hero's essential content (headline + primary CTA) fits without scrolling at 375px width.
Every hero example in this guide was hand-built with inline HTML and CSS — no AI gradient backgrounds, no centered-everything, no fabricated stats. Use them, copy them, adapt them. And if you want to audit your own hero against the 58-gate anti-slop test, try the GradientDeck MCP slop_test tool at gradientdeck.com/mcp.