A row of phrases where hovering one expands a stagger-typed paragraph beside it — the kind of FAQ heading-list interaction premium SaaS sites use.
import HoverTextReveal from '@crazygl/hero-hover-text-reveal';
export default function Page() {
return (
<HoverTextReveal
item1Title="What we do"
item1Body="We design and build motion-rich product experiences end to end."
/>
);
}item1Title/item1Body, item2Title/item2Body, item3Title/item3Body.titleColor, bodyColor, accentColor (active title), titleSize, bodySize, headingFontFamily, headingFontWeight.transparentBackground, bgColor.npm install @crazygl/hero-hover-text-revealThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import HoverTextReveal from '@crazygl/hero-hover-text-reveal';
export default function Landing() {
return (
<HoverTextReveal />
);
}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 HoverTextReveal from '@crazygl/hero-hover-text-reveal';
export default function Page() {
return (
<section>
<HoverTextReveal
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}