mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 14:50:02 +00:00
docs: make Catalog visual and reproducible
This commit is contained in:
@@ -3,23 +3,24 @@ title: "Grain Overlay"
|
||||
description: "Animated film grain texture overlay using CSS keyframes — adds warmth and analog character to any composition"
|
||||
---
|
||||
|
||||
# Grain Overlay
|
||||
|
||||
Animated film grain texture overlay using CSS keyframes — adds warmth and analog character to any composition
|
||||
|
||||
`texture` `grain` `overlay` `film`
|
||||
|
||||
<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/grain-overlay.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/grain-overlay.png" autoPlay muted loop playsInline />
|
||||
|
||||
## Install
|
||||
## Add it to a project
|
||||
|
||||
<CodeGroup>
|
||||
### Ask your agent
|
||||
|
||||
```bash Terminal
|
||||
npx hyperframes add grain-overlay
|
||||
```text
|
||||
Add the Grain Overlay component from the HyperFrames Catalog to this project.
|
||||
Replace the demo content with mine and match the existing design and timing.
|
||||
```
|
||||
|
||||
</CodeGroup>
|
||||
### Install from the terminal
|
||||
|
||||
```bash
|
||||
npx hyperframes add grain-overlay
|
||||
```
|
||||
|
||||
## Details
|
||||
|
||||
@@ -27,12 +28,20 @@ npx hyperframes add grain-overlay
|
||||
| --- | --- |
|
||||
| Type | Component |
|
||||
|
||||
## Files
|
||||
**Installed files**
|
||||
|
||||
| File | Target | Type |
|
||||
| --- | --- | --- |
|
||||
| `grain-overlay.html` | `compositions/components/grain-overlay.html` | hyperframes:snippet |
|
||||
|
||||
## Usage
|
||||
## Use it
|
||||
|
||||
Open `compositions/components/grain-overlay.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.
|
||||
Ask your agent to apply the component to the intended element and preserve the project’s existing timing.
|
||||
|
||||
**Wiring it by hand.** Open `compositions/components/grain-overlay.html` and paste its contents into your composition. The comment header in that file contains any item-specific instructions.
|
||||
|
||||
## Related topics
|
||||
|
||||
- [Browse the complete Catalog](/catalog)
|
||||
- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
|
||||
- [Build a richer composition](/go-further)
|
||||
|
||||
Reference in New Issue
Block a user