Glowing particles and connection lines stream out from a tilted product screenshot, suggesting live data moving through the UI. Built for analytics, CRM, automation, AI agents and database products.
import DataFlow from '@crazygl/hero-data-flow';
export default function Hero() {
return (
<DataFlow
screenshot="/img/dashboard.avif"
particleColor="#56e3ff"
accentColor="#ffb45a"
flowSpeed={0.7}
/>
);
}screenshot (the centerpiece capture), plus screenAspect, screenScale, screenTilt, screenBrightness, screenshotX/Y to frame it.particleCount, particleColor, accentColor, flowSpeed, particleSize, emissionRate.showLines, lineOpacity, lineMaxDistance (how far a particle drifts before its tether fades).cursorAttract bends the stream toward the pointer; cursorBurst spawns extra particles near the cursor.bgTop / bgBottom gradient, ambientStars depth layer; contentAlign for the copy.npm install @crazygl/hero-data-flowThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import ScreenshotWithAnimatedDataFlow from '@crazygl/hero-data-flow';
export default function Landing() {
return (
<ScreenshotWithAnimatedDataFlow />
);
}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 ScreenshotWithAnimatedDataFlow from '@crazygl/hero-data-flow';
export default function Page() {
return (
<section>
<ScreenshotWithAnimatedDataFlow
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}