mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
---
|
|
title: "Code Diff Wipe"
|
|
description: "A scene transition that wipes through added and removed code lines."
|
|
---
|
|
|
|
# Code Diff Wipe
|
|
|
|
A scene transition that wipes through added and removed code lines.
|
|
|
|
`transition-primitive` `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-diff-wipe.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/code-diff-wipe.png" autoPlay muted loop playsInline />
|
|
|
|
## Install
|
|
|
|
<CodeGroup>
|
|
|
|
```bash Terminal
|
|
npx hyperframes add code-diff-wipe
|
|
```
|
|
|
|
</CodeGroup>
|
|
|
|
## Details
|
|
|
|
| Property | Value |
|
|
| --- | --- |
|
|
| Type | Component |
|
|
|
|
## Files
|
|
|
|
| File | Target | Type |
|
|
| --- | --- | --- |
|
|
| `code-diff-wipe.html` | `compositions/components/code-diff-wipe.html` | hyperframes:snippet |
|
|
|
|
## Usage
|
|
|
|
Open `compositions/components/code-diff-wipe.html` and paste its contents into your composition. See the comment header in the file for timeline integration guidance.
|