mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-14 13:27:13 +00:00
39 lines
1021 B
Plaintext
39 lines
1021 B
Plaintext
---
|
|
title: "Card"
|
|
description: "A composable card primitive with header, metric row, content, and animated reveal hooks"
|
|
---
|
|
|
|
# Card
|
|
|
|
A composable card primitive with header, metric row, content, and animated reveal hooks
|
|
|
|
`ui-primitive` `remocn-port` `card` `surface`
|
|
|
|
<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/card.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/card.png" autoPlay muted loop playsInline />
|
|
|
|
## Install
|
|
|
|
<CodeGroup>
|
|
|
|
```bash Terminal
|
|
npx hyperframes add card
|
|
```
|
|
|
|
</CodeGroup>
|
|
|
|
## Details
|
|
|
|
| Property | Value |
|
|
| --- | --- |
|
|
| Type | Component |
|
|
|
|
## Files
|
|
|
|
| File | Target | Type |
|
|
| --- | --- | --- |
|
|
| `card.html` | `compositions/components/card.html` | hyperframes:snippet |
|
|
|
|
## Usage
|
|
|
|
Open `compositions/components/card.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.
|