TextField · Input · stable
Captures a single line of free text with a two-way user-state binding.
Android and KMP are declared rendering targets in the contract. Editor scope: Palette+Inspector.
AI authoring: contract flag set; eligible for Stage 3 screen generation. Actual selection depends on the generation route and research input conditions.
Support and authoring conditions were checked against source on 2026-10-13. Properties, behavior and examples below retain the 2026-09-10 reference snapshot; they do not replace device validation.
Preview and property controls
Start the KMP preview and adjust properties to update the example screen and JSON. Reset the example to restore its initial state.
Usage guidance
Use it for
- Short notes or names
- Responses with few format constraints
Avoid it for
- When a numeric range is known
- When the user must choose from fixed options
Anatomy and accessibility
-
Label
-
Value
-
Placeholder
-
State binding
-
Always provide a meaningful label instead of relying on the placeholder.
-
Describe the error and recovery action in text.
Props contract
Runtime defaults and example values are different. Properties without a documented default remain explicitly unspecified.
| Key · label | Type · constraints | Required | Runtime default | Example | Support |
|---|---|---|---|---|---|
label · Label | text | No | "" | "새 질문" | Android / KMP |
placeholder · Placeholder | text | No | No documented default | "입력..." | Android / KMP |
maxLength · Maximum length | number · min 1 | No | No documented default | — | Android / KMP |
required · Required | boolean | No | false | — | Android / KMP |
readOnly · Read only | boolean | No | false | — | Android / KMP |
disabled · Disabled | boolean | No | false | — | Android / KMP |
helperText · Helper text | text | No | No documented default | — | Android / KMP |
errorText · Error message | text | No | No documented default | — | Android / KMP |
inputStyle · Input style | select · filled, outlined | No | "outlined" | — | Android / KMP |
cornerRadius · Corner radius | number · min 0 | No | 12 | — | Android / KMP |
Binding
[
{
"key": "props.bind",
"source": "user",
"path": "screen.field",
"mode": "twoWay"
}
]
Supported actions
The component has no default action of its own.
Runtime notes
No additional runtime notes are declared. Refer to the contract tables for platform support.
Related components and source
Contract verified: 2026-09-02 · schemaVersion 2.
Based on the reference-site snapshot generated on September 10, 2026. The documentation import date and runtime verification date are separate.