Live demonstrations of the RSL Hero component
The simplest hero configuration with centered content and gradient background.
Create stunning websites with RSL's accessible, zero-dependency framework. Get started in minutes.
<section class="rsl-hero" data-hero-size="md" data-hero-layout="center" data-hero-animate-in>
<div class="rsl-hero-inner">
<div class="rsl-hero-content">
<span class="rsl-hero-eyebrow">
<i class="fas fa-rocket"></i> Launch Ready
</span>
<h1 class="rsl-hero-heading">
Build Something <span class="rsl-hero-heading-accent">Amazing</span>
</h1>
<p class="rsl-hero-subheading">
Create stunning websites with RSL's accessible, zero-dependency framework.
</p>
<div class="rsl-hero-actions">
<a href="#" class="btn btn-primary">Get Started</a>
<a href="#" class="btn btn-outline">Documentation</a>
</div>
</div>
</div>
</section>
Content on one side with an image on the other. Perfect for product showcases.
Our intuitive interface makes complex tasks simple. Built for developers who value clarity and efficiency.
<section class="rsl-hero" data-hero-size="lg" data-hero-layout="split-right" data-hero-bg="gradient-cool">
<div class="rsl-hero-inner">
<div class="rsl-hero-content">
<span class="rsl-hero-eyebrow">Featured Product</span>
<h1 class="rsl-hero-heading">Powerful Features, Simple Design</h1>
<p class="rsl-hero-subheading">Description text here...</p>
<div class="rsl-hero-actions">
<a href="#" class="btn btn-primary">Watch Demo</a>
</div>
<div class="rsl-hero-features">
<div class="rsl-hero-feature">
<div class="rsl-hero-feature-icon"><i class="fas fa-bolt"></i></div>
<span class="rsl-hero-feature-text">Lightning Fast</span>
</div>
</div>
</div>
<div class="rsl-hero-media">
<img src="your-image.jpg" alt="Description">
</div>
</div>
</section>
Full-width image background with a dark overlay for text contrast.
Professional photography services for weddings, portraits, and special events. Let us tell your story through stunning imagery.
<section class="rsl-hero rsl-hero-text-shadow"
data-hero-size="lg"
data-hero-bg="image"
data-hero-overlay="dark"
data-hero-parallax>
<div class="rsl-hero-background">
<img src="hero-background.jpg" alt="">
</div>
<div class="rsl-hero-overlay"></div>
<div class="rsl-hero-inner">
<div class="rsl-hero-content">
<!-- Content here -->
</div>
</div>
<button class="rsl-hero-scroll">
<div class="rsl-hero-scroll-icon"></div>
<span>Scroll</span>
</button>
</section>
Choose from multiple pre-built gradient backgrounds.
gradient-warm
gradient-nature
gradient-sunset
gradient-dark
Add subtle animation to the gradient background for a dynamic effect.
This hero features an animated gradient that shifts smoothly. The animation respects user preferences for reduced motion.
<section class="rsl-hero" data-hero-size="md" data-hero-bg="gradient" data-hero-animate-bg>
<!-- Content -->
</section>
Compact hero for documentation pages and inner pages.
Everything you need to build with RSL
<section class="rsl-hero" data-hero-size="sm" data-hero-bg="gradient-dark">
<div class="rsl-hero-inner">
<div class="rsl-hero-content">
<h1 class="rsl-hero-heading">Documentation</h1>
<p class="rsl-hero-subheading">Everything you need to build with RSL</p>
</div>
</div>
</section>
Use a light overlay for dark text on image backgrounds.
Building a better tomorrow with environmentally conscious practices and innovative technology.
<section class="rsl-hero" data-hero-size="md" data-hero-bg="image" data-hero-overlay="light">
<div class="rsl-hero-background">
<img src="your-image.jpg" alt="">
</div>
<div class="rsl-hero-overlay"></div>
<div class="rsl-hero-inner">
<div class="rsl-hero-content">
<span class="rsl-hero-eyebrow">Eco Friendly</span>
<h1 class="rsl-hero-heading">Sustainable Solutions</h1>
<p class="rsl-hero-subheading">Your description here</p>
<div class="rsl-hero-actions">
<a href="#" class="btn btn-primary">Primary Action</a>
<a href="#" class="btn btn-outline">Secondary</a>
</div>
</div>
</div>
</section>