mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-15 22:08:03 +00:00
60 lines
2.1 KiB
Plaintext
60 lines
2.1 KiB
Plaintext
---
|
||
title: "Texture"
|
||
description: "Flowing texture mask over large uppercase text — ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable"
|
||
---
|
||
|
||
Flowing texture mask over large uppercase text — ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable
|
||
|
||
`captions` `caption-style` `texture` `mask`
|
||
|
||
<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/caption-texture.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-texture.png" autoPlay muted loop playsInline />
|
||
|
||
## Add it to a project
|
||
|
||
Ask your agent:
|
||
|
||
```text
|
||
Add the Texture component from the HyperFrames Catalog to this project.
|
||
Replace the demo content with mine and match the existing design and timing.
|
||
```
|
||
|
||
Or install it from the project folder:
|
||
|
||
<CodeGroup>
|
||
|
||
```bash Terminal
|
||
npx hyperframes add caption-texture
|
||
```
|
||
|
||
</CodeGroup>
|
||
|
||
<Accordion title="Technical details">
|
||
|
||
| Property | Value |
|
||
| --- | --- |
|
||
| Type | Component |
|
||
|
||
**Installed files**
|
||
|
||
| File | Target | Type |
|
||
| --- | --- | --- |
|
||
| `caption-texture.html` | `compositions/components/caption-texture.html` | hyperframes:snippet |
|
||
| `lava.png` | `compositions/components/lava.png` | hyperframes:asset |
|
||
| `marble-012.png` | `compositions/components/marble-012.png` | hyperframes:asset |
|
||
| `metal-046-b.png` | `compositions/components/metal-046-b.png` | hyperframes:asset |
|
||
| `wood-066.png` | `compositions/components/wood-066.png` | hyperframes:asset |
|
||
| `concrete-042-a.png` | `compositions/components/concrete-042-a.png` | hyperframes:asset |
|
||
| `rock-058.png` | `compositions/components/rock-058.png` | hyperframes:asset |
|
||
|
||
</Accordion>
|
||
|
||
## Use it
|
||
|
||
Ask your agent to apply the component to the intended element and preserve the project’s existing timing.
|
||
|
||
<Accordion title="Instructions for agents and developers">
|
||
|
||
Open `compositions/components/caption-texture.html` and paste its contents into your composition. The comment header in that file contains any item-specific instructions.
|
||
|
||
</Accordion>
|