Your product screenshot drifts softly behind a frosted glass panel that holds the heading copy. Real transmission frost in the body, a sharp dispersive rim, two drifting light leaks, and layered parallax that separates the panel from the screenshot.
import FrostedCTAPanel from '@crazygl/hero-frosted-cta-panel';
export default function Page() {
return (
<FrostedCTAPanel
heading="Built for focus."
screenshot="https://crazygl.com/samples/screenshot-dashboard-dark.avif"
frostAmount={0.3}
/>
);
}contentType (heading / two-columns / custom), heading, subheading.screenshot (media), screenshotX/Y, screenshotScale.panelWidth/Height, panelCornerRadius, panelX/Y, frostAmount, frostVariation, panelTint, rimChromatic (dispersion), fresnelColor, fresnelStrength.leakColorA/B, leakStrength, leakDriftSpeed.layeredParallax.bgColor, bgVignette.npm install @crazygl/hero-frosted-cta-panelThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import FrostedCTAPanel from '@crazygl/hero-frosted-cta-panel';
export default function Landing() {
return (
<FrostedCTAPanel />
);
}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 FrostedCTAPanel from '@crazygl/hero-frosted-cta-panel';
export default function Page() {
return (
<section>
<FrostedCTAPanel
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}