@crazygl/hero-debugging-xray-hero
v0.1.1
Published
Debugging X-Ray — A polished product screenshot scanned by an animated x-ray band that reveals the underlying component structure as glowing devtools-style bboxes and accessibility outlines. Drag the pointer, or let it… A customizable CrazyGL animated her
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-debugging-xray-hero
A polished product screenshot scanned by an animated x-ray band that reveals the underlying component structure as glowing devtools-style bboxes and accessibility outlines. Drag the pointer, or let it auto-sweep — exactly the feeling of opening the inspector on production.
Demo
Install
npm install @crazygl/hero-debugging-xray-heroUsage
import DebuggingXray from '@crazygl/hero-debugging-xray-hero';
export default function Hero() {
return (
<DebuggingXray
heading="See every render, every leak, every layout shift."
screenshot="https://crazygl.com/samples/screenshot-dashboard-dark.avif"
scanMode="both"
accentColor="#5cd5ff"
/>
);
}Customise
- Content —
heading+subheading+ctaLabel/onCTAClick, two columns, or a custom node. - Screenshot —
screenshot(PNG/JPG/WebP/AVIF) plusscreenshotScale,screenshotX/Y,screenshotTiltto place it as a product card. - X-Ray scan —
scanMode(pointer / auto / both),scanSpeed,bandWidth,accentColor. - X-ray source —
xrayModeprocedural overlay or a customxrayImage(wireframe / blueprint, cover-fit aligned). - Overlay —
overlayStyle(bboxes / heatmap / both) andoverlayDensity. - Stage —
parallaxStrength,bgTop/bgBottom,transparentBackground.
The screenshot reads best with visible structure — dashboards, IDEs and admin UIs, whose cards, sidebars and tables give the bounding boxes real structure to discover.
Best for
- Observability and monitoring platforms (paint timing, Core Web Vitals, RUM).
- Devtools, inspector and frontend-performance products.
- Accessibility testing suites and engineering dashboards.
- AI-for-engineers pages where "see inside your app" is the pitch.
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.
