GSAP Hero Reveal
A hero whose elements stagger-fade in on load, via GSAP.
Requires Bootstrap 5, GSAP. Add the CDN tags below to your page (styles in
<head>, scripts before </body>). The downloaded file already includes them.<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script><div class="text-center" style="max-width:360px"><h3 class="fw-bold gx" style="opacity:0">Build faster</h3><p class="text-secondary gx" style="opacity:0">Powerful tools, zero setup.</p><button class="btn btn-primary gx" style="opacity:0">Get started</button></div>gsap.to('.gx',{opacity:1,y:0,duration:.7,stagger:.18,ease:'power2.out',from:{y:30}});
gsap.from('.gx',{y:30,duration:.01});Free to use.This component uses Bootstrap 5, GSAP (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.