InputText

InputText is an extension to standard input element with theming and keyfiltering.

InputText is used as a controlled input with ngModel property.

InputText is used as a controlled input with ngModel property.

basic-demo

FloatLabel visually integrates a label with its form element. Visit FloatLabel documentation for more information.

float-label-demo

IftaLabel is used to create infield top aligned labels. Visit IftaLabel documentation for more information.

ifta-label-demo

InputText provides small and large sizes as alternatives to the standard.

sizes-demo

The fluid prop makes the component take up the full width of its container when set to true.

fluid-demo

An advisory text can be defined with the semantic small tag.

Enter your username to reset your password.
help-text-demo

Specify the variant property as filled to display the component with a higher visual emphasis than the default outlined style.

filled-demo

When disabled is present, the element cannot be edited and focused.

disabled-demo

The invalid state is applied using the ⁠invalid property to indicate failed validation, which can be integrated with Angular Forms.

invalid-demo
template-driven-forms-demo
reactive-forms-demo

Screen Reader

InputText component renders a native input element that implicitly includes any passed prop. Value to describe the component can either be provided via label tag combined with id prop or using aria-labelledby, aria-label props.

Keyboard Support

KeyFunction
tabMoves focus to the input.
ON THIS PAGE
Theme Designer
Theme Designer is the ultimate tool to customize and design your own themes featuring a visual editor, Figma to theme code, cloud storage, and migration assistant.
Learn More