
Gooey Counter
Components
A layered WebGL hero banner that gives launch pages, brand debuts, and portfolio first screens a crafted animated opening.
Animated Hero Banner turns the first screen into the brand argument. Layered motion carries the launch before the body copy begins.
Use it for launch pages, brand debuts, campaign microsites, and portfolio heroes where the first screen must prove craft immediately. The page job is arrival: the visitor should understand that the brand has taste before they scroll.
In production, the risk is attention drift. Keep the headline, subhead, and CTA in HTML, let the motion support the opening beat, then quiet it before it competes with the offer.
import HeroBannerAnimated from '@/components/effects/hero-banner-animated' const page = () => { return ( <> <HeroBannerAnimated/> </> )} export default pageA film festival microsite can use Hero Banner Animated as its opening screen. Visitors arrive in a dim 3D room where a light follows the cursor, and clicking the TV screen moves in closer to play the festival trailer through a pixelated transition.
The outcome is arrival. The festival's taste is clear before anyone scrolls, and the dates, headline, and ticket CTA stay in HTML so the motion supports the opening without competing with it.
Not for low-power-first pages, dense content, dashboards, checkout, or routes where performance is the main conversion lever.
Cap DPR at 1.0 on touch/mobile and up to 1.5 on mid-range desktop. Pause Animated Hero Banner offscreen and in hidden tabs, reduce postprocessing before shipping, and keep texture sizes controlled.
Keep meaningful content in HTML outside the canvas. On phones and tablets the component skips the scene and shows an "Open on desktop" message, so supply your own poster for those visitors.
| Prop | Type | Default | Description |
|---|---|---|---|
mouseMovement | boolean | true | Enables the cursor-tracked point light. |
intensity | number | 3 | Peak brightness of the cursor-tracked point light when the scene is not zoomed. |
lerp | number | 0.1 | Smoothing factor for the point light following the cursor; higher values follow faster. |
accentColor | string | #ECE4B4 | Accent color for hero text, markers, links, and icon highlights. |
Keep DPR at 1.0 on touch and up to 1.5 on capable desktops, and simplify the layered motion on the lower tier so the banner stays smooth. Budget for the fact that a hero runs immediately on load, competing with everything else initializing. Measure first-load cost, not just steady-state frame rate.
Use a high-quality still of the composed banner so the first screen still carries the brand when WebGL is unavailable. Because the hero copy and CTA are HTML, the message survives without the animation. Treat the poster as the guaranteed baseline experience.
Render on demand and pause once the banner scrolls past or the tab loses focus, then resume on return. A hero loop left running after the user scrolls down is wasted work. Visibility-based pausing keeps the rest of the page responsive.
Headline, supporting line, and primary CTA stay in the DOM layered above the canvas, never baked into the render. The animation sets tone; it must not be the sole carrier of the offer. Keep the CTA a real, focusable button.
Pick a static hero when load performance is critical, when most visitors are on mobile, or when the motion is purely ornamental. If a crafted still delivers the same impression, it's the safer default. Use the animated banner only where motion is part of the story you're telling.
Need a custom effect? Tell us what to create.