Text Input

This element allows users to insert/upload text for need mobile apps.


Overview

Unlike our desktop based components, the mobile text input has two “structures”. The “outline” text input variant can be broadly used and should be consider the default option, whereas the “solid” structure should not be used when the alt-background is used for page background.

In addition to the structure of the text input, there are two sizes of this component: default (similar to the text field desktop component) and large (similar to the textarea desktop element).

Text Input Overview

Key Features


  1. The “outline” structured text input should be used as the default variant for the component.
  2. The “solid” text input is an optional mode that can be used to provide greater depth and contrast. This should type of text input should only be used against a white background.
  3. To provide users guidance on the text limits for a given text input, designers can enable the character counter against the large text input.
  4. The large size of the text input should be used for tasks that require longer strings of text such as descriptions or additional notes.
Text Input - Type / Outline-View

The different types of the text input align with those used for the desktop, Text Field, component. Below are the included types:

  1. Placeholder
  2. Populated
  3. Error
  4. Disabled
Text Input - State / Outline-View

Usage


Do

Only use the "outline" structured text input for pages that are using the alt-background.

Don't

Avoid using the "solid" structured text input against the alt-background page.

Do

Limit the number of "large" sized text inputs, opting first for "default" sized text inputs where possible.

Don't

Avoid using more than one large text input per page.