mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-14 13:27:13 +00:00
Port Remocn UI primitives into installable HyperFrames snippets. Add a first transitions.dev-inspired primitive set for agent-friendly motion patterns.
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
---
|
|
title: "Dialog"
|
|
description: "A centered modal dialog primitive with overlay, title, description, and action row"
|
|
---
|
|
|
|
# Dialog
|
|
|
|
A centered modal dialog primitive with overlay, title, description, and action row
|
|
|
|
`ui-primitive` `remocn-port` `dialog` `overlay`
|
|
|
|
<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/dialog.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/dialog.png" autoPlay muted loop playsInline />
|
|
|
|
## Install
|
|
|
|
<CodeGroup>
|
|
|
|
```bash Terminal
|
|
npx hyperframes add dialog
|
|
```
|
|
|
|
</CodeGroup>
|
|
|
|
## Details
|
|
|
|
| Property | Value |
|
|
| --- | --- |
|
|
| Type | Component |
|
|
|
|
## Files
|
|
|
|
| File | Target | Type |
|
|
| --- | --- | --- |
|
|
| `dialog.html` | `compositions/components/dialog.html` | hyperframes:snippet |
|
|
|
|
## Usage
|
|
|
|
Open `compositions/components/dialog.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.
|