The uploaded logo becomes a soft mascot-like 3D toy that drops in with snappy spring physics, reacts to the cursor like a squashy character, and pops into a colorful confetti burst when clicked — then drops in again.
import BouncyLogoMascot from '@crazygl/hero-bouncy-logo-mascot';
export default function Page() {
return (
<BouncyLogoMascot
logo="https://example.com/logo.svg"
logoColor="#ff6ba6"
squashAmount={0.6}
/>
);
}logo (transparent SVG/PNG silhouette, extruded with depth; or a GLB/GLTF used directly), useGlbMaterials toggle, logoColor (glossy body color).bounceStrength, bounceSpeed, squashAmount, cursorLean, pointerParallax.confettiCount plus the four-color palette confettiColor1…confettiColor4.bgTop, bgBottom pastel gradient, or transparentBackground.npm install @crazygl/hero-bouncy-logo-mascotThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import BouncyLogoMascot from '@crazygl/hero-bouncy-logo-mascot';
export default function Landing() {
return (
<BouncyLogoMascot />
);
}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 BouncyLogoMascot from '@crazygl/hero-bouncy-logo-mascot';
export default function Page() {
return (
<section>
<BouncyLogoMascot
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}