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