Files
hyperframes/docs/catalog/components/code-accordion.mdx
T

39 lines
1.0 KiB
Plaintext

---
title: "Code Accordion"
description: "Stacked code sections expand one at a time with line highlights."
---
# Code Accordion
Stacked code sections expand one at a time with line highlights.
`code-animation` `remocn-port`
<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/code-accordion.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/code-accordion.png" autoPlay muted loop playsInline />
## Install
<CodeGroup>
```bash Terminal
npx hyperframes add code-accordion
```
</CodeGroup>
## Details
| Property | Value |
| --- | --- |
| Type | Component |
## Files
| File | Target | Type |
| --- | --- | --- |
| `code-accordion.html` | `compositions/components/code-accordion.html` | hyperframes:snippet |
## Usage
Open `compositions/components/code-accordion.html` and paste its contents into your composition. See the comment header in the file for timeline integration guidance.