Studiov0.6.0
Studio/Patterns/Hero Section

Hero Section

Hero

Full-bleed hero with background image or gradient overlay, headline, subtext, and call-to-action buttons. Sets the visual tone for a page.

Code Example

<section className="relative min-h-[600px] flex items-center">
  <div className="absolute inset-0">
    <Image src="/images/hero/hero-main.webp" alt="..." fill className="object-cover" />
    <div className="absolute inset-0 bg-gradient-to-r from-background/95 to-background/60" />
  </div>
  <div className="relative max-w-6xl mx-auto px-6 md:px-10 py-20">
    <h1 className="text-5xl md:text-6xl font-bold mb-6">
      Your Headline <span className="text-primary">Here</span>
    </h1>
    <p className="text-lg text-muted-foreground max-w-2xl mb-8">
      Supporting copy that expands on the headline promise.
    </p>
    <div className="flex gap-3">
      <Button size="lg">Primary Action</Button>
      <Button size="lg" variant="outline">Secondary</Button>
    </div>
  </div>
</section>

Variants (3)

Image Background

Full-bleed photo with dark gradient overlay and centered text

backgroundType= "image"alignment= "center"overlay= true

Gradient Background

Brand gradient background with left-aligned content

backgroundType= "gradient"alignment= "left"overlay= false

Split Layout

50/50 text and image side by side

backgroundType= "none"alignment= "split"overlay= false

Guidelines

Do

  • Use a high-quality background image or brand gradient
  • Keep headline under 10 words
  • Limit to 2 CTA buttons maximum
  • Use brand accent color for primary CTA
  • Add alt text to background images

Don't

  • Stack more than 3 lines of body text
  • Use low-contrast text over busy images without overlay
  • Place form inputs inside the hero
  • Use animation on every element simultaneously

Use Cases

  • Landing page first impression
  • Product launch announcements
  • Campaign pages with strong visual identity
  • Portal homepages (PRT, Place Fund, Zoen)

Details

Category
Hero
Reference Component
HeroSection
Variants
3
Guidelines
5 dos, 4 donts
Back to all patterns