Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Description

...

The text area consists of:

  • Preceding label - meaningful label describing the information the user needs to provide.

  • Input Field.

  • (Optional) Hint text - a short description of the expected input text, shown within the input field.

States

State

Default

Filled

Regular

Hover

Active

Disabled

Read Only

Error

Warning

Focused

Focused, Hover

Focused, Active

...

  • On hover over the text area, the mouse cursor will change to a text cursor.

  • On click:

    • Where no text has been added to the text area:

      • A text cursor will appear at the beginning of the text area.

      • The hint text will disappear.

    • Where text already exists in the text area:

      • A text cursor will appear in the position where the user clicks.

      • Double-clicking a word inside the text area will select that word.

      • Triple-clicking the text area will select all of the text.

  • When the text area becomes inactive (user clicks away) the hint text will reappear, if no other text has been added.

  • If a character limit has been set, reaching the limit will prevent the user from entering any more characters.

  • In special cases, the height of the text area will increase automatically in response to the amount of entered text.

Validations and errors

Please refer to the Field validation page for more information.

A text area with a warning will have an orange border and a warning icon, as shown below: 

...

  • Don’t use where the user only needs to enter a short amount of text → use a Text Field.

  • Always provide a clear and meaningful preceding label for any input field.

  • Where appropriate, help users by providing a hint text describing the expected input text.

...