> ## Documentation Index
> Fetch the complete documentation index at: https://hyperframes.heygen.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Portal

> VFX composition block

# Portal

VFX composition block

`html-in-canvas` `webgl`

<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-portal.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-portal.png" autoPlay muted loop playsInline />

## Install

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

## Details

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

## Files

| File              | Target                         | Type                    |
| ----------------- | ------------------------------ | ----------------------- |
| `vfx-portal.html` | `compositions/vfx-portal.html` | hyperframes:composition |

## Usage

After installing, add the block to your host composition:

```html theme={null}
<div data-composition-id="vfx-portal" data-composition-src="compositions/vfx-portal.html" data-start="0" data-duration="10" data-track-index="1" data-width="1920" data-height="1080"></div>
```
