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.
| Parameter | Description |
|---|---|
| label | Visible field label. |
| value | Text field value. |
| type | Input type: text, password, or email. |
| if | Conditional rendering expression. |
Usage
xml<TextInput label="Customer name" value="$form.name" />