> ## Documentation Index
> Fetch the complete documentation index at: https://hyperframes-codex-docs-human-first-refactor.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Liquid Glass Context Menu

> Frosted glass context menu panel drifting over an aurora shader background

Frosted glass context menu panel drifting over an aurora shader background

`html-in-canvas` `liquid-glass-html-in-canvas` `webgpu`

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

## Add it to a project

<Tabs>
  <Tab title="Ask your agent">
    ```text theme={null}
    Add the Liquid Glass Context Menu block from the HyperFrames Catalog to this project.
    Replace the demo content with mine and match the existing design and timing.
    ```
  </Tab>

  <Tab title="Terminal">
    ```bash theme={null}
    npx hyperframes add liquid-glass-context-menu
    ```
  </Tab>
</Tabs>

## Details

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

**Installed files**

| File                             | Target                                        | Type                    |
| -------------------------------- | --------------------------------------------- | ----------------------- |
| `liquid-glass-context-menu.html` | `compositions/liquid-glass-context-menu.html` | hyperframes:composition |
| `lib/liquid-glass.iife.js`       | `compositions/lib/liquid-glass.iife.js`       | registry:asset          |

## Use it

Ask your agent to replace the example content, match the project style, and place the block at the right moment in the video.

**Wiring it by hand.** The installed block can be added to a host composition with:

```html theme={null}
<div data-composition-id="liquid-glass-context-menu" data-composition-src="compositions/liquid-glass-context-menu.html" data-start="0" data-duration="8" data-track-index="1" data-width="1920" data-height="1080"></div>
```
