Files
heygen-com__hyperframes/docs/catalog/components/button.mdx
Miguel Ángel cf7db37697 feat(registry): add UI and transition primitives catalog
Port Remocn UI primitives into installable HyperFrames snippets.
Add a first transitions.dev-inspired primitive set for agent-friendly motion patterns.
2026-06-24 06:18:02 +00:00

39 lines
1.0 KiB
Plaintext

---
title: "Button"
description: "A video-safe shadcn-style button primitive with hover, press, loading, and success states"
---
# Button
A video-safe shadcn-style button primitive with hover, 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.