> ## Documentation Index
> Fetch the complete documentation index at: https://hyperframes-feat-media-use-v2.mintlify.site/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.

# 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`

<Warning>
  **Requires Chrome flag.** Enable `chrome://flags/#canvas-draw-element` for live preview. Rendering via CLI enables the flag automatically. [Learn more](/guides/html-in-canvas).
</Warning>

<video className="w-full aspect-video rounded-xl object-cover bg-zinc-100 dark:bg-zinc-800" src="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-iphone-device.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-iphone-device.png" autoPlay muted loop playsInline />

## Install

<CodeGroup>
  ```bash Terminal theme={null}
  npx hyperframes add vfx-iphone-device
  ```
</CodeGroup>

## Details

| Property   | Value     |
| ---------- | --------- |
| Type       | Block     |
| Dimensions | 1920×1080 |
| Duration   | 15s       |

## Files

| File                             | Target                                | Type                    |
| -------------------------------- | ------------------------------------- | ----------------------- |
| `vfx-iphone-device.html`         | `compositions/vfx-iphone-device.html` | hyperframes:composition |
| `models/iphone.glb`              | `models/iphone.glb`                   | asset                   |
| `models/macbook.glb`             | `models/macbook.glb`                  | asset                   |
| `models/hyperframes-mobile.png`  | `models/hyperframes-mobile.png`       | asset                   |
| `models/hyperframes-desktop.png` | `models/hyperframes-desktop.png`      | asset                   |

## Usage

After installing, add the block to your host composition:

```html theme={null}
<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>
```
