Text field
Labelled input with hint and error message.
Install this component
Install command hidden until you are signed in with a license.
Live demo
We never share it.
That name is taken.
Props
| Prop | Type | Description |
|---|---|---|
| label | string | Visible label (required). |
| hint | string | Helper text. |
| error | string | Error message; sets aria-invalid. |
Accessibility
Keyboard
- TabFocus
ARIA and semantics
- Label associated via htmlFor
- aria-describedby references the hint and error
- aria-invalid when an error is set
Source
Copy the files into your project. Or install with the commands above (they unlock with your license).
The full Text field source is part of the license.
The live demo is free to try. A license unlocks copy-paste source, installs and exports for every component and pack.
Unlock every icon