Nativ ui
Documentation

Hero

Hero section patterns for landing pages.

Basic Hero

<section class="py-24 md:py-32">
  <div class="container text-center">
    <h1 class="text-4xl md:text-6xl font-bold tracking-tight">
      Build something amazing
    </h1>
    <p class="mt-6 text-lg text-muted-foreground max-w-2xl mx-auto">
      A brief description of your product or service that
      explains the value proposition clearly.
    </p>
    <div class="mt-10 flex justify-center gap-4">
      <a href="#" class="btn-primary">Get Started</a>
      <a href="#" class="btn-secondary">Learn More</a>
    </div>
  </div>
</section>

Hero Variants

With Image

Add a product screenshot or illustration below the CTA.

With Background

Use a gradient or image background for visual impact.

Split Layout

Text on one side, image on the other.

Best Practices

  1. Clear headline - State your value proposition
  2. Subheadline - Expand on the headline briefly
  3. Single CTA - One primary action (secondary optional)
  4. Social proof - Logos, testimonials, or stats
  5. Visual hierarchy - Guide the eye down the page