Core / Forms
Field
Connects label, input, help, and validation content.
Live example
We’ll only use this for account-related messages.
Interactive preview using local sample data. Styling is intentionally left to the consuming project.
Usage
<Field label="Email"><Input /></Field>Adopt to your project
Keep this component semantically neutral. Use its documented props for behavior and className for project-specific spacing, width, typography, and visual treatment.
Accessibility
Ensure labels, hints, and errors reference the control.
API reference
| Public attribute |
|---|
label |
hint |
error |
required |
children |
The preview above uses a safe local fixture. Confirm exact TypeScript props when adapting it to your application.
Installation
Full library
pnpm install:project /absolute/path/to/your-project
Planned guided selection
Forms → Field