mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +00:00
Re-ran generate-catalog-pages.ts — picks up updated descriptions, video embeds for existing components, and the renamed caption-texture entry.
45 lines
1.7 KiB
Plaintext
45 lines
1.7 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"
|
|
---
|
|
|
|
# Texture
|
|
|
|
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 />
|
|
|
|
## Install
|
|
|
|
<CodeGroup>
|
|
|
|
```bash Terminal
|
|
npx hyperframes add caption-texture
|
|
```
|
|
|
|
</CodeGroup>
|
|
|
|
## Details
|
|
|
|
| Property | Value |
|
|
| --- | --- |
|
|
| Type | Component |
|
|
|
|
## 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 |
|
|
|
|
## Usage
|
|
|
|
Open `compositions/components/caption-texture.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.
|