@crazygl/hero-phone-mockup
v0.1.1
Published
Vertical Phone Screenshot With 3D Depth — A mobile screenshot floats inside a realistic 3D phone mockup. The phone rotates with the cursor and the screen pulses with subtle app glow. Perfect for app launch pages. A customizable CrazyGL animated hero secti
Downloads
77
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-phone-mockup
A mobile screenshot floats inside a realistic 3D phone mockup. The phone rotates with the cursor and the screen pulses with subtle app glow. Perfect for app launch pages.
Demo
Vertical Phone Screenshot With 3D Depth
Install
npm install @crazygl/hero-phone-mockupUsage
import HeroPhoneMockup from '@crazygl/hero-phone-mockup';
export default function App() {
return (
<HeroPhoneMockup
heading="Built for thumbs."
subheading="Your app, beautifully framed."
screenshot="/screens/my-app.png"
bodyTint="#ffffff"
/>
);
}Customise
- Screenshot —
screenshot(the vertical app image; 9:19.5 crops cleanest) andscreenBrightness(how strongly the screen self-illuminates). - Phone —
useGlbMaterialskeeps the GLB's authored PBR finish;bodyTintmultiplies over it for color variants. Turn the toggle off to fully overridephoneColor/frameMetalness/frameRoughness.phoneScalesizes the phone. - Motion —
pointerRotation(how strongly the phone follows the cursor) andappGlowPulse(subtle screen brightness pulse). - Background —
transparentBackground, or a radial gradient viabgColor1/bgColor2. - Lighting —
keyColor/fillColor/backColorof the studio rig plusenvIntensityfor the procedural HDRI reflection. - Layout —
contentAlign,phoneOffsetX/phoneOffsetY, padding.
Best for
- Mobile-app landing pages and consumer-app launches.
- SaaS / product sites that want the screenshot to read as the hero.
- App Store / Play Store campaign pages and storefront apps.
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.
