Input
A text input with support for icons, error state, and disabled state.
Default
A plain text input.
With Label
Pair with Label using matching htmlFor and id.
Error state
Pass error to show a message and switch to the error visual. The message is announced immediately by screen readers.
Please enter a valid email address.
Disabled
Use disabled on both Label and Input to keep them in sync visually.
With icons
Use leftIcon or rightIcon for visual affordance. Icons are aria-hidden and purely decorative.