A hero section is the large introductory block at the top of a web page, usually spanning the full width of the viewport, that combines a headline, a short supporting statement, a dominant visual and a primary call to action. In Design, and specifically in the practice of Layout & grids, it is the first composition a visitor sees before scrolling, so it carries a disproportionate share of the page’s communicative work.
The term borrows from print and comic layouts, where the hero image was the single dominant picture on a spread. On the web, the hero section must answer three questions within a few seconds: what this page offers, why it matters to the visitor and what to do next. Its structure is governed by the same grid, spacing and hierarchy rules as the rest of the page, but at a larger scale and with stricter constraints on clarity.
How a hero section is structured
A hero section is built from a small set of functional components, each with a defined role in the visual hierarchy. Designers place these components on the page’s column grid, typically a 12-column grid on desktop, so that the hero aligns with the content that follows rather than floating as an isolated poster.
The table below lists the standard components, their purpose and the constraints experienced designers apply to each.
| Component | Purpose | Typical constraint |
|---|---|---|
| Headline | States the value proposition | 6-12 words, largest type on the page |
| Subheadline | Clarifies the headline | One or two sentences, 15-30 words |
| Primary call to action | Drives the main conversion | One high-contrast button |
| Secondary action | Offers a lower-commitment path | Text link or outline button |
| Hero visual | Supports the message emotionally | Image, illustration, video or product shot |
| Trust signals | Reduce hesitation | Logos, ratings or short proof points |
The components follow a reading order that matches common scanning behavior. In a split layout, text sits on one half of the grid and the visual on the other, which suits the Z-pattern of eye movement: the eye moves from the logo to the navigation, then diagonally to the headline and finally to the button. In a centered layout, the text stack sits on the central columns over a background image or color field.
Common hero section layouts
Hero sections vary mainly in how text and visual share space. The choice depends on the strength of the available imagery, the length of the message and the importance of performance on mobile devices.
| Layout | Arrangement | Best suited for |
|---|---|---|
| Split hero | Text and visual in two grid halves | Software products, services with a clear screenshot |
| Full-bleed image | Text overlaid on an edge-to-edge photo | Travel, hospitality, editorial brands |
| Centered text hero | Text stack on central columns, minimal visual | Developer tools, manifestos, campaigns |
| Video background | Looping muted video behind text | Events, entertainment, physical products |
| Product-led hero | Interactive demo or large product render | Hardware, apps with a strong interface |
| Bento-style hero | Several tiles of unequal size | Platforms with multiple core features |
A frequent question concerns height. A full-viewport hero set to 100vh creates drama but can hide the fact that more content exists below, a problem known as the false floor. Many teams therefore limit the hero to 60-80% of the viewport height or let the top of the next section peek into view, which signals that scrolling continues.
Hero section and the grid system
A well-built hero section inherits the page grid instead of inventing its own geometry. The headline block usually spans 6 to 8 of 12 columns on desktop, because lines longer than about 60-75 characters become hard to read even at display sizes. Outer margins and gutters match those of the sections below, so the left edge of the headline aligns with the left edge of body content further down.
Vertical spacing follows the same rhythm. Teams working with an 8-point grid set the padding above and below the hero in multiples of 8, commonly 64, 96 or 128 pixels on desktop, and reduce it proportionally on small screens. On a responsive grid, a split hero collapses into a single column, and the order of text and visual must be decided deliberately: placing the headline before the image on mobile keeps the message above the fold.
The following comparison shows how hero sections differ from neighboring layout concepts that are often confused with them.
| Concept | Position on page | Main function |
|---|---|---|
| Hero section | Top of the page, first viewport | Communicate the core message and primary action |
| Banner | Anywhere, often narrow | Announce a promotion or notice |
| Card layout | Content areas below the hero | Present several comparable items |
| Carousel or slider | Often placed where a hero would be | Rotate several messages in turn |
| Page header | Top of inner pages | Show the page title and context |
Designing an effective hero section
The decisive principle is one message and one primary action. Every additional claim, button or animated element divides attention and weakens the hierarchy. Designers test hero copy with a five-second test: viewers see the hero briefly and are asked what the page offers; if they cannot answer, the headline or visual is unclear.
The decision table below summarizes recommended choices for typical situations.
| Situation | Recommended choice | Reason |
|---|---|---|
| Strong original photography | Full-bleed image with overlay | Imagery carries emotion and context |
| Complex software product | Split hero with interface screenshot | Shows the product instead of describing it |
| Weak or stock imagery | Typography-led centered hero | Avoids generic visuals that reduce trust |
| Mobile-heavy audience | Compact hero under 70% viewport | Keeps content and action visible quickly |
| Several equal audiences | Short hero plus segmented cards below | Prevents an overloaded headline |
Text contrast over images deserves particular care. Text placed on a photograph must meet the WCAG 2.2 contrast ratio of 4.5:1 for normal text or 3:1 for large text, which designers achieve with a dark gradient overlay, a solid text panel or by positioning text over a calm area of the image.
Limitations and common mistakes
Hero sections are powerful but expensive in performance and attention. A large hero image is frequently the Largest Contentful Paint element, so an unoptimized file directly harms Core Web Vitals scores and search visibility.
- Rotating carousels in place of a hero split attention, and later slides receive little engagement.
- Vague headlines such as slogans without a concrete offer fail the five-second test.
- Uncompressed images or autoplay video delay rendering, especially on mobile networks.
- Multiple competing buttons of equal weight remove the clear primary action.
- Ignoring the mobile crop lets responsive scaling cut faces or products out of the frame.
- Text baked into images is invisible to screen readers and search engines and cannot be translated.
A common misconception holds that the hero must always fill the screen. Research on scrolling behavior shows that users scroll readily when the page signals more content, so a compact, clear hero often outperforms an oversized decorative one.
Explained without jargon
A hero section is the big opening area you see first when a website loads. Think of it as the shop window of a page. In a few seconds it should tell you what the place offers and invite you inside.
It usually has a large headline, a short explanation, an eye-catching picture and one clear button such as “Start free trial”. The key idea is focus: one message and one main thing to do. When a hero tries to say everything at once, people understand nothing.
A typical use case
A small company selling accounting software redesigns its homepage. The old top area was a carousel with five rotating slides, each promoting a different feature, and analytics showed that few visitors clicked anything in it.
The design team replaces it with a split hero section on a 12-column grid. The left seven columns hold the headline “Send invoices and get paid in two clicks”, a 22-word subheadline and a single “Start free trial” button, with a text link to watch a demo. The right five columns show a cropped screenshot of the invoice screen. The hero occupies about 70% of the viewport, and the image is compressed to under 150 KB in a modern format.
After launch, the Largest Contentful Paint on mobile improves noticeably, and the share of visitors who start a trial from the homepage rises over the following weeks. The outcome reflects the core lesson: a single clear message with one action works better than several competing ones.