Skip to main content

Documentation Index

Fetch the complete documentation index at: https://hyperframes.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

iPhone & MacBook 3D Showcase

Real GLTF iPhone 15 Pro Max and MacBook Pro models with live HTML-in-Canvas screen content, morphing glass lens, product review camera choreography, and 360° turntable. html-in-canvas 3d device iphone macbook gltf
Requires Chrome flag. Enable chrome://flags/#canvas-draw-element for live preview. Rendering via CLI enables the flag automatically. Learn more.

Install

npx hyperframes add vfx-iphone-device

Details

PropertyValue
TypeBlock
Dimensions1920×1080
Duration15s

Files

FileTargetType
vfx-iphone-device.htmlcompositions/vfx-iphone-device.htmlhyperframes:composition
models/iphone.glbmodels/iphone.glbasset
models/macbook.glbmodels/macbook.glbasset
models/hyperframes-mobile.pngmodels/hyperframes-mobile.pngasset
models/hyperframes-desktop.pngmodels/hyperframes-desktop.pngasset

Usage

After installing, add the block to your host composition:
<div data-composition-id="vfx-iphone-device" data-composition-src="compositions/vfx-iphone-device.html" data-start="0" data-duration="15" data-track-index="1" data-width="1920" data-height="1080"></div>