Files
hyperframes/docs/catalog/blocks/reddit-post.mdx

47 lines
1.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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>
```