mockup-device-3d
Static iPhone and MacBook 3D-style showcase with real HTML embedded on screens, glass-lens refraction, and 360-degree turntable composition.
Security Assessment
About mockup-device-3d
This skill is a static device-showcase template that renders iPhone and MacBook mockups in a 3D-style composition with real HTML content embedded on their screens. It solves a common product-presentation problem: showing an app or web UI inside realistic device frames without depending on external mockup images or heavy 3D tooling. Everything is drawn with CSS and SVG, so the output is a single self-contained HTML file.
The template specifies a fixed 1920x1080 composition on a dark radial-gradient background with a mirrored floor reflection. An iPhone 15 Pro frame (titanium-silver border, rounded screen) is positioned with CSS 3D transforms and hosts the user's content in a mobile 375x812 viewport, while an optional MacBook Pro frame hosts a scaled desktop viewport. It adds simulated glass-lens highlights, a floor reflection via scaleY flip and gradient masking, an optional product-slug badge and caption, and an optional CSS turntable animation that respects prefers-reduced-motion. Strict rules require drawing all device chrome with CSS/SVG (never external mockup image URLs), using Tailwind for on-screen UI at realistic mobile type sizes, avoiding nested srcdoc iframes, and filling screens with real user data rather than lorem ipsum. It ships with example Markdown and example HTML. Front matter marks it a product-scenario web prototype pointing to an upstream html-anything project, with bilingual metadata.
The target users are product marketers, designers, and developers preparing product launches, app demos, or design showcases. Use cases include hero images for landing pages, app-store-style previews, and presentation slides. It is a purely visual template with no system operations.
FAQ
What does the template output?
A single self-contained HTML file showing iPhone and optionally MacBook mockups in a 3D-style composition, with the user's real HTML/UI content embedded on the screens.
How are the devices rendered?
Entirely with CSS 3D transforms and SVG, including glass-lens highlights and a mirrored floor reflection; external mockup image URLs (such as Unsplash or Dribbble links) are explicitly forbidden.
What screen sizes are used?
A mobile 375x812 viewport for the iPhone and a scaled 1440x900 desktop viewport for the MacBook, with on-screen UI built in Tailwind at realistic mobile type sizes.
Is there animation?
An optional 8-second CSS turntable animation rotating the devices, which can be disabled via prefers-reduced-motion.
Can placeholder content be used?
No. The template requires filling screens with real user data and forbids lorem ipsum or 'Your text here' placeholders.
Install mockup-device-3d
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
nexu-io/open-design