---
title: "Liquid Glass Notification"
description: "Frosted glass notification cards floating over an aurora shader background"
---

<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-notification.mp4" autoPlay muted loop playsInline />

## Install

```bash Terminal
npx hyperframes add liquid-glass-notification
```

That writes `compositions/liquid-glass-notification.html`, plus 2 supporting files under `compositions/lib/` and `compositions/assets/`.

<Warning>
  Live preview needs the `chrome://flags/#canvas-draw-element` flag switched on.
  Rendering from the CLI switches it on for you. [How it
  works](/guides/html-in-canvas)
</Warning>

## Add it to your video

It runs for 8 seconds at 1920×1080. Paste this into your composition:

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

Move it in time with `data-start`. Put it on a different timeline row with
`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.

{/* hf:generated-footer */}

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