Heading filled with a constantly drifting multi-stop conic gradient — like aurora moving through the letterforms.
import MotionColourText from '@crazygl/hero-motion-colour-text';
export default function Hero() {
return (
<MotionColourText
heading="Make it move."
spinSpeed={8}
panSpeed={14}
/>
);
}heading, optional subheading.spinSpeed (seconds per hue turn), panSpeed (seconds per drift cycle), saturation, lightness.fontSize (px), headingFontFamily (Google font), headingFontWeight, subColor.transparentBackground, bgColor.npm install @crazygl/hero-motion-colour-textThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import MotionColourText from '@crazygl/hero-motion-colour-text';
export default function Landing() {
return (
<MotionColourText />
);
}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 MotionColourText from '@crazygl/hero-motion-colour-text';
export default function Page() {
return (
<section>
<MotionColourText
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}