Skip to main content
Layout & StructureLevel 1

Hero Section

首屏焦点区

WebMobileDesktopDifficulty: Easy

The primary above-the-fold spotlight communicating headline value and primary calls to action.

01

Live Demo

Actually clickable
Live Demo Playground
v2.0 Released

Build Software with AI Fluency

Turn design patterns into production code without cognitive translation friction.

Switch Hero layouts: Centered showcases prominent copy; Split balances narrative with product preview.

What you just saw:The first screen of a modern website: a punchy display headline, two explanatory sentences, a high-contrast Free Trial button, and a floating preview of the actual product UI on the right.

02

What it actually is

The hero is your digital storefront window. Visitors decide within three seconds whether to stay or bounce based on this single viewport. An effective hero avoids visual clutter, clearly stating what the product is, the problem it solves, and the immediate action to take, supported by crisp hierarchy and high-contrast conversion buttons.

herohero sectionabove-the-fold showcasehero bannerlanding header
03

Anatomy · What it's made of

  1. Eyebrow眉标微徽章

    Announcement badge or category pill above headline

  2. Display H1核心主标题

    Dominant value proposition in display typography

  3. Subtitle副说明文案

    Explains use cases and customer pain points in 1-2 lines

  4. CTA Group行动号召按钮组

    Primary conversion action paired with secondary ghost button

  5. Visual Showcase主视觉载体

    Product UI preview mockup, interactive demo, or illustration

04

When to Use

When it fits, and when it doesn't
Hero Section usage recommendations
SituationUse it?
Product landing pages, SaaS homepages, and brand showcasesYes
Major feature launch announcements and marketing campaignsYes
Portfolio homepages establishing immediate professional identityYes
Internal enterprise tools or daily administrative dashboardsNo
Utility-first tools where users need immediate input focusNo

Forcing oversized heroes on daily SaaS utilities where returning users just want to get to work.

Hardcoding h-screen on mobile where dynamic browser address bars obscure primary CTAs.

05

Similar Patterns

Don't mix these up
06

How to tell AI

Three levels of prompt

Add the component name and specifics

Build a SaaS hero: headline "Build AI apps in 5 minutes", two-line subtitle explaining core perks, primary high-contrast CTA "Start Free" alongside ghost button "Docs", paired with a floating dark product mockup below.

07

Don't just say this to AI

Bad → Better

Don't say this to AI

Put a big headline and image at the top.

Say this instead

Build a modern SaaS hero: min-h-[85vh], centered eyebrow badge, tight H1 (text-5xl tracking-tight), muted subtitle, dual CTA buttons, and a tilted perspective UI screenshot.

08

Share this card

Social-ready

Turn this pattern into a 3:4 or 1:1 knowledge card and export it as PNG right in the browser. No backend needed.