Files
hyperframes/docs/catalog/components/chart.mdx
T

39 lines
975 B
Plaintext

---
title: "Chart"
description: "A minimal chart primitive with animated bars and value labels"
---
# Chart
A minimal chart primitive with animated bars and value labels
`ui-primitive` `remocn-port` `chart` `data`
<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/chart.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/chart.png" autoPlay muted loop playsInline />
## Install
<CodeGroup>
```bash Terminal
npx hyperframes add chart
```
</CodeGroup>
## Details
| Property | Value |
| --- | --- |
| Type | Component |
## Files
| File | Target | Type |
| --- | --- | --- |
| `chart.html` | `compositions/components/chart.html` | hyperframes:snippet |
## Usage
Open `compositions/components/chart.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.