mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 22:58:02 +00:00
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
---
|
||
title: "Reddit Post Card"
|
||
description: "Animated Reddit post card overlay with upvotes and comments"
|
||
---
|
||
|
||
import { HyperframesPreview } from "../../snippets/HyperframesPreview.jsx";
|
||
|
||
# Reddit Post Card
|
||
|
||
Animated Reddit post card overlay with upvotes and comments
|
||
|
||
`social` `overlay` `reddit`
|
||
|
||
<HyperframesPreview src="/registry/blocks/reddit-post/reddit-post.html" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/reddit-post.png" />
|
||
|
||
## Install
|
||
|
||
<CodeGroup>
|
||
|
||
```bash Terminal
|
||
npx hyperframes add reddit-post
|
||
```
|
||
|
||
</CodeGroup>
|
||
|
||
## Details
|
||
|
||
| Property | Value |
|
||
| --- | --- |
|
||
| Type | Block |
|
||
| Dimensions | 1920×1080 |
|
||
| Duration | 5s |
|
||
|
||
## Files
|
||
|
||
| File | Target | Type |
|
||
| --- | --- | --- |
|
||
| `reddit-post.html` | `compositions/reddit-post.html` | hyperframes:composition |
|
||
|
||
## Usage
|
||
|
||
After installing, add the block to your host composition:
|
||
|
||
```html
|
||
<div data-composition-id="reddit-post" data-composition-src="compositions/reddit-post.html" data-start="0" data-duration="5" data-track-index="1" data-width="1920" data-height="1080"></div>
|
||
```
|