@crazygl/hero-black-glass-reveal
v0.1.1
Published
Black Glass Product Reveal — An almost-black canvas. A slow horizontal light sweeps left to right, revealing a glossy product screenshot inside a ceramic black-glass frame. Cinematic reveal for luxury SaaS, fintech, and… A customizable CrazyGL animated he
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-black-glass-reveal
An almost-black canvas. A slow horizontal light sweeps left to right, revealing a glossy product screenshot inside a ceramic black-glass frame. Cinematic reveal for luxury SaaS, fintech, and premium B2B tools.
Demo
Install
npm install @crazygl/hero-black-glass-revealUsage
import BlackGlassReveal from '@crazygl/hero-black-glass-reveal';
export default function Page() {
return (
<BlackGlassReveal
screenshot="https://crazygl.com/samples/screenshot-dashboard-dark-2.avif"
heading="A new standard."
sweepPeriod={7}
/>
);
}Customise
- Screenshot —
screenshotmedia plusscreenshotX/Y,screenshotScale,screenshotTilt, andscreenEmissive(how bright the revealed display reads). - Frame —
frameColor,frameMetalness,frameRoughness,frameClearcoat,frameThickness,frameDepthshape the ceramic black-glass bezel. - Sweep —
sweepPeriod,sweepWidth,sweepIntensity,sweepColor,revealFloorcontrol the light band and how visible the screen sits at rest. - Motion —
parallaxStrength(pointer tilt) andfloorReflection(dim mirrored floor). - Background —
bgColor,transparentBackground.
Best for
- Luxury SaaS launch pages and premium B2B tools
- Fintech and trading dashboards
- High-end product or device reveals
- Any dark, cinematic landing where a single screenshot is the star
This hero is part of CrazyGL, a collection of production-ready WebGL, canvas, 3D, and typography effects. Every CrazyGL hero ships with an agent-ready SKILL.md file that helps developers and coding agents adapt the effect into custom landing pages and interactive experiences.
