mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
---
|
|
title: "Text State Swap"
|
|
description: "A text state swap primitive with outgoing blur and incoming lift"
|
|
---
|
|
|
|
# Text State Swap
|
|
|
|
A text state swap primitive with outgoing blur and incoming lift
|
|
|
|
`transition-primitive` `transitions-dev-port` `text` `swap`
|
|
|
|
<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/text-state-swap.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/text-state-swap.png" autoPlay muted loop playsInline />
|
|
|
|
## Install
|
|
|
|
<CodeGroup>
|
|
|
|
```bash Terminal
|
|
npx hyperframes add text-state-swap
|
|
```
|
|
|
|
</CodeGroup>
|
|
|
|
## Details
|
|
|
|
| Property | Value |
|
|
| --- | --- |
|
|
| Type | Component |
|
|
|
|
## Files
|
|
|
|
| File | Target | Type |
|
|
| --- | --- | --- |
|
|
| `text-state-swap.html` | `compositions/components/text-state-swap.html` | hyperframes:snippet |
|
|
|
|
## Usage
|
|
|
|
Open `compositions/components/text-state-swap.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.
|