A terminal/code-editor screenshot floats at the centre, surrounded by drifting command fragments, glowing syntax particles and a pointer-driven matrix-green cursor trail.
import CyberTerminal from '@crazygl/hero-cyber-terminal';
export default function Page() {
return (
<CyberTerminal
screenshot="/screenshots/terminal-dark.avif"
screenshotTilt={-8}
fragmentCount={22}
particleCount={300}
/>
);
}heading/subheading, two-column, or custom node.screenshot URL, screenshotX/screenshotY, screenshotScale, screenshotTilt, screenEmissive.fragmentCount, commands (one per line), three palette colours, fragmentSpeed.particleCount, three palette colours, particlePull (attraction toward the screen).cursorTrailEnabled, cursorTrailColor, cursorTrailLength.haloColor/haloStrength, bgColor, gridStrength, transparentBackground, parallaxStrength.npm install @crazygl/hero-cyber-terminalThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import CyberTerminal from '@crazygl/hero-cyber-terminal';
export default function Landing() {
return (
<CyberTerminal />
);
}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 CyberTerminal from '@crazygl/hero-cyber-terminal';
export default function Page() {
return (
<section>
<CyberTerminal
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}