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

47 lines
1.0 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: "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>
```