mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 06:30:03 +00:00
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
---
|
|
title: "Parallax Zoom"
|
|
description: "Center card scales up to fill the frame while siblings parallax outward — inspired by the eBay Playbook hero transition"
|
|
---
|
|
|
|
<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/components/parallax-zoom.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/parallax-zoom.png" autoPlay muted loop playsInline />
|
|
|
|
## Install
|
|
|
|
```bash Terminal
|
|
npx hyperframes add parallax-zoom
|
|
```
|
|
|
|
That writes one file: `compositions/components/parallax-zoom.html`.
|
|
|
|
## Paste it into your composition
|
|
|
|
Open `compositions/components/parallax-zoom.html` and copy what is inside into your own composition.
|
|
The file opens with a comment header that walks you through it.
|
|
|
|
A component has no size or duration of its own. It takes both from the composition
|
|
you paste it into.
|
|
|
|
{/* hf:generated-footer */}
|
|
|
|
Tagged `transition` `zoom` `parallax` `grid` `hero`.
|
|
|
|
## Related topics
|
|
|
|
- [Browse the complete Catalog](/catalog)
|
|
- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
|
|
- [Build a richer composition](/go-further)
|