TextInput

TextInput collects short-form text like names, emails, or search queries. Use it for single-line values where the expected input is brief. Pair it with validation status to guide users through required or formatted fields.

ParameterDescription
labelVisible field label.
valueText field value.
propertyProperty to update when value references an object State.
typeInput type: text, password, or email.
placeholderHint displayed while the field is empty.
isRequiredMarks the field as required.
ifConditional rendering expression.

Usage

xml
<TextInput label="Customer name" value="$form.name" />