Oversized 404 hero with the middle 0 swapped for an idle-orbiting glowing eye — the kind of error page people actually screenshot.
import Animated404 from '@crazygl/hero-animated-404';
export default function NotFound() {
return (
<Animated404
errorCode="404"
heading="Page not found"
subheading="The thing you were looking for has been moved, deleted, or it never existed."
ctaLabel="Take me home"
ctaHref="/"
/>
);
}errorCode, heading, subheading, ctaLabel, ctaHref.irisColor, pupilColor, scleraColor, and eyeSensitivity (how far the eye follows the pointer).codeColor, textColor, headingFontFamily (Google font), headingFontWeight.transparentBackground, bgColor, accentColor (glow + CTA tint).npm install @crazygl/hero-animated-404The component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import Animated404 from '@crazygl/hero-animated-404';
export default function Landing() {
return (
<Animated404 />
);
}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 Animated404 from '@crazygl/hero-animated-404';
export default function Page() {
return (
<section>
<Animated404
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}