React hero section components
8 hero section componentsLive previewFull source in your repo
Animated hero sections for the top of a website or landing page, from a CSS spotlight beam to a WebGL sky. One command installs the source into your React project, and every line stays yours to edit.
Works with
- React
- Next.js
- TypeScript
- Tailwind CSS
Hero section examples you can copy
Every hero section design here is one file: markup, motion and responsive Tailwind CSS. Preview it live, then copy the full source into your project.
Hero Section With Radial GlowCentered AI-company hero with a blue radial glow overlay, letter-spaced headline, solid CTA pair, and an RTL-scrolling trust logo strip. Adapts to light and dark mode.
Hero Section With Spotlight BeamFull-bleed dark hero with a pure-CSS diagonal spotlight beam, grain texture overlay, and an oversized bold headline anchored to the bottom-left, finished with a lime-green eyebrow label.
Hero Section With Rotating WordsA premium bone-surface hero for a writing platform, with a concentric-ring orb radiating cyan-to-lime arcs from the bottom. Animated rotating-word headline, centered dropdown navbar, and dual CTA buttons overlaid on the glow.
Hero Section With Eclipse GlowA centered AI-product hero set against a dimmed purple eclipse-arc background, with a small wordmark, an eyebrow badge pill, a bold two-line headline, dual CTAs, and a static trusted-by row of real company wordmarks.
Hero Section With Morphing Photo ArcA light studio hero that opens on a ring of twenty photographs. It scrolls in its own container: that scroll morphs the ring into a bottom arc and walks the deck past a rail.
Hero Section With 3D MonolithA dark, motion-first React hero section built around a 3D-angled monolith with neon glowing edges and orbital light rings. Pure CSS, no model file to download.
Hero Section With Animated CloudsCentered hero over a raw WebGL cloud shader: cumulus banks rising from the bottom corners and wisps along the top, lit per lobe, in a deep blue day sky or a navy night with moonlit clouds. Dual CTA buttons and staggered content reveals. Adapts to light and dark mode.
Hero Section With Black HoleReact hero section with a WebGL black hole: golden vapor spiraling into a dark shadow with a thin photon ring, beside a headline, release chip and two calls to action, on a fixed black surface.
Animated hero section backgrounds
Full bleed animated backgrounds that sit under your own headline and buttons. Use one when a ready made hero is close and you would rather write the layout yourself.
Animated Background With Noise FieldFull-bleed WebGL motion background with domain-warped FBM noise, smooth Gaussian mouse warp, film grain, and edge vignette, built on Three.js with separate light and dark palettes, fully configurable color and motion props.
Animated Background With Color BandsFull-bleed WebGL background with flowing color bands, pointer parallax, warp strength, and configurable palette, built on Three.js with transparent compositing, film grain, and light/dark defaults.
Animated Background With Contour LinesReact animated topographic background with contour lines that respond to the cursor. Built with Three.js, with light and dark color palettes.
Animated Background With Warp TunnelFull-bleed WebGL background with radial light streaks rushing through a spiral tunnel toward a cursor-following vanishing point, built on Three.js with a three-stop depth gradient, fog, twist, film grain, and separate light and dark defaults.
Animated Background With Liquid CausticsReact WebGL background with animated water caustics, cursor interaction, and light and dark palettes. Built with Three.js.
Aurora BackgroundAurora background of blurred light on Framer Motion, with grain that kills banding.
Morphing Shape BackgroundLava lamp background for React heroes: soft gradient shapes that drift and melt.
Gradient StripesA brand gradient sliced into glowing stripes that rise toward the pointer.
Hero headline text animations
The headline is the part of a hero people actually read. Each of these animates type without touching layout, so nothing shifts while it settles.
Text Blur RevealA blur-in stagger by word or by letter, triggered the moment you scroll.
Text CycleCycles through your headline words with a soft per-character blur stagger.
Text ShimmerA CSS shimmer sweep for headlines, one single element and entirely GPU-friendly.
Text Word FlipSpring-loaded word flips paired with a soft letter-by-letter blur stagger.
Line Fill TextBold type filled with flowing curved linework that bends round the cursor.
Particle TextLoading-ring canvas particles that slowly resolve into solid letterforms.
Chrome TextLiquid chrome text effect: inflated metal letters with sliding glints and sparkles.
Text PathSVG text riding a curved wave, arc, or circle path on a seamless, light loop.
Count Up AnimationA count up animation for React: every digit rolls into place, in any number format.
Text Char SlideA per-character slide-left cascade with a cleanly staggered entrance timing.
Text Chroma RevealA chromatic ribbon sweep that paints each of your headlines cleanly into view.
Text FlipA 3D character flip on hover, staggered and springy across every single letter.
Text GlitchA chromatic clip-path glitch for headlines, CSS-only and entirely GPU-friendly.
Text HighlightA hand-placed highlighter band that sweeps in behind your text and tracks wrapping.
Text MorphingBlur-morphing headlines that cycle phrases with a gooey, seamless crossfade.
Text MotionHeadline entrances driven entirely by your own custom Framer Motion variants.
Text RippleA 3D character ripple with a traveling color crest, CSS-only and GPU-light.
Text ScribbleHand-drawn scribble, squiggly underline, strike, circle, and box marks for text.
Text SpectrumAn animated multi-stop color wash that drifts endlessly through headlines.
Underline AnimationCSS hover underlines for links: slide, center, fill, wavy, and gradient.
How to design a hero section for a landing page
A hero section is the first section of a website or landing page: the headline, one line of supporting text, a visual, and the buttons people see before they scroll. Its job is to say what the product does and who it is for. A good hero section answers that in a few seconds, and if a visitor cannot repeat your main point back after one read, no amount of animation will fix it.
Most hero section examples that work share the same four parts. A headline that names the outcome in plain words. A sub line of one sentence that says how. One primary button and, at most, a quieter second link. A visual that shows the product or sets the mood without competing with the text. Hero Section With Spotlight Beam keeps exactly those four on a dark full bleed surface, with an oversized headline anchored bottom left under a diagonal beam.
Speed is the trade off most teams run into. The hero is usually the largest thing on screen, which makes it the element Google times for Largest Contentful Paint. The heroes here split into two groups by how they draw the background. Spotlight Beam and 3D Monolith are pure CSS, with no model file and no renderer, so they paint as soon as the stylesheet loads. Animated Clouds and Black Hole draw their sky in a WebGL shader, which looks richer and has to compile before the first frame shows.
Choose the CSS group for a product page that has to feel instant on a mid range phone, and the WebGL group when the background is part of the pitch. A design tool, a studio portfolio or a launch page can carry a moving sky because the hero is demonstrating the thing being sold. A billing dashboard usually cannot, and the mismatch reads as decoration rather than proof.
A trust row under the buttons helps only when the logos are real. Hero Section With Radial Glow scrolls a strip of logos from right to left, and Hero Section With Eclipse Glow sets a static trusted by row under its two buttons. Swap both for companies that actually use your product, or delete the row. A borrowed logo in the first screen is the fastest way to lose a careful buyer.
Animate the headline when the motion carries meaning. Hero Section With Rotating Words cycles one word inside the headline, which suits a product with several audiences, such as a writing tool for essays, emails and posts. If the rotating word is only decoration, a static headline reads faster. The text animations listed above animate type without moving the layout, so nothing below the headline jumps while a word settles.
Design the mobile hero first. At around 360 pixels wide the headline, the sub line and the main button all have to fit above the fold, so a long headline needs a shorter version or a smaller type step. Every hero here collapses to one column below the medium breakpoint. Hero Section With Morphing Photo Arc is the exception worth testing by hand, because its ring of twenty photographs scrolls inside its own container.
Write the headline before you pick the design. Say what the product does instead of a slogan, keep the sub line to one sentence, and give the page one clear next step. A plain hero section with a sharp headline beats an animated one wrapped around a vague promise.

