1e41f4b71Sopenharmony_ci# TextInput (System API)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe **TextInput** component provides single-line text input.
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci>  **NOTE**
6e41f4b71Sopenharmony_ci>
7e41f4b71Sopenharmony_ci>  This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
8e41f4b71Sopenharmony_ci>
9e41f4b71Sopenharmony_ci>  This topic describes only system APIs provided by the module. For details about its public APIs, see [TextInput](ts-basic-components-textinput.md).
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci## InputType
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci| Name                                | Description                                      |
14e41f4b71Sopenharmony_ci| ---------------------------------- | ---------------------------------------- |
15e41f4b71Sopenharmony_ci| SCREEN_LOCK_PASSWORD<sup>11+</sup> | Lock screen password input mode. This mode accepts only digits, letters, underscores (_), spaces, and special characters. An eye icon is used to show or hide the password, and the entered text is hidden behind dots by default. Since API version 12, on specific devices, the entered text is displayed directly as dots. The password input mode does not support underlines.<br>**System API**: This is a system API.|
16