A SaaS dashboard floats among soft cloud sprites under a friendly cream-to-sky-blue sky. Pointer drift parallaxes both the camera and the layered clouds for a light, approachable, effortless mood.
import CalmCloudInterface from '@crazygl/hero-calm-cloud-interface';
export default function Hero() {
return (
<CalmCloudInterface
screenshot="https://example.com/your-dashboard.avif"
cloudCount={8}
skyTop="#b8d8f5"
skyBottom="#fff5e8"
/>
);
}screenshot (PNG/JPG/WebP/AVIF; the plane derives its aspect from the image), plus screenshotScale, screenshotX/screenshotY offsets and screenshotTilt.cloudCount (4–14), cloudColor, cloudOpacity, cloudDriftSpeed, cloudSpeed multiplier.skyTop / skyBottom gradient colours.pointerCameraDrift and pointerParallax.transparentBackground to composite over your own page.npm install @crazygl/hero-calm-cloud-interfaceThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import CalmCloudInterface from '@crazygl/hero-calm-cloud-interface';
export default function Landing() {
return (
<CalmCloudInterface />
);
}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 CalmCloudInterface from '@crazygl/hero-calm-cloud-interface';
export default function Page() {
return (
<section>
<CalmCloudInterface
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}