mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
cf7db37697
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: "Input"
|
|
description: "A video-safe text field primitive with label, helper text, focus ring, and typed value reveal"
|
|
---
|
|
|
|
# Input
|
|
|
|
A video-safe text field primitive with label, helper text, focus ring, and typed value reveal
|
|
|
|
`ui-primitive` `remocn-port` `input` `field`
|
|
|
|
<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/input.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/input.png" autoPlay muted loop playsInline />
|
|
|
|
## Install
|
|
|
|
<CodeGroup>
|
|
|
|
```bash Terminal
|
|
npx hyperframes add input
|
|
```
|
|
|
|
</CodeGroup>
|
|
|
|
## Details
|
|
|
|
| Property | Value |
|
|
| --- | --- |
|
|
| Type | Component |
|
|
|
|
## Files
|
|
|
|
| File | Target | Type |
|
|
| --- | --- | --- |
|
|
| `input.html` | `compositions/components/input.html` | hyperframes:snippet |
|
|
|
|
## Usage
|
|
|
|
Open `compositions/components/input.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.
|