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

39 lines
1011 B
Plaintext

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