Form Field
Accessible form wrapper with label, hint, and error text.
Usage
API Reference
VoltError — volt-error
| Input | Type | Default |
|---|---|---|
| class | string | '' |
VoltHint — volt-hint
| Input | Type | Default |
|---|---|---|
| class | string | '' |
VoltLabel — volt-label
| Input | Type | Default |
|---|---|---|
| error | boolean | false |
| htmlFor | string | '' |
| class | string | '' |
VoltFormField — volt-form-field
| Input | Type | Default |
|---|---|---|
| class | string | '' |
Component Source
Install via CLI:
npx @voltui/cli add form-fieldTypeScript
Loading editor…
Copy this code to your project. The component uses ng-primitives/form-field.