Your screenshot or video sits at the centre of an 80s sci-fi tunnel — stacked rings of glowing colour flow toward the camera against deep black. Energetic, fun, memorable.
import RetroTunnel from '@crazygl/hero-retro-tunnel';
export default function Hero() {
return (
<RetroTunnel
heading="Step into the demo."
screenMedia="/your-product-demo.mp4"
ringShape="Hexagon"
/>
);
}heading + subheading, two columns, or a custom node.screenMedia (image or auto-looping video; aspect read from the asset), screenMediaX/Y, screenMediaScale, screenClarity (crisp ↔ hazy film print).ringCount, ringSpacing, tunnelRadius, ringSpeed, ringThickness, ringGlow, ringShape (Circle / Hexagon / Octagon).ringColor1–ringColor5, cycled around the stack (synthwave defaults).parallaxStrength (pointer-driven camera drift + roll).transparentBackground.npm install @crazygl/hero-retro-tunnelThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import RetroFutureProductTunnel from '@crazygl/hero-retro-tunnel';
export default function Landing() {
return (
<RetroFutureProductTunnel />
);
}The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';
import RetroFutureProductTunnel from '@crazygl/hero-retro-tunnel';
export default function Page() {
return (
<section>
<RetroFutureProductTunnel
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}