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

39 lines
1013 B
Plaintext

---
title: "Button"
description: "A video-safe action button with tactile press, loading, and success states"
---
# Button
A video-safe action button with tactile press, loading, and success states
`ui-primitive` `remocn-port` `button` `control`
<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/button.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/button.png" autoPlay muted loop playsInline />
## Install
<CodeGroup>
```bash Terminal
npx hyperframes add button
```
</CodeGroup>
## Details
| Property | Value |
| --- | --- |
| Type | Component |
## Files
| File | Target | Type |
| --- | --- | --- |
| `button.html` | `compositions/components/button.html` | hyperframes:snippet |
## Usage
Open `compositions/components/button.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.