Textarea

Textareas are form controls that allow users to enter and edit multiple lines of text for longer content input.

textarea/main

Resources

Intro & Anatomy

Textareas are form controls that enable users to enter and edit multi-line text content for longer responses and detailed information.

Use textareas when users need to provide extended text input such as comments, descriptions, messages, or any content that spans multiple lines.

Textareas automatically expand to accommodate content whilst providing users with adequate space for comfortable text entry and editing.

textarea/anatomy

 


 

Options & Styles

Label & Helpers

Label is always required to provide clear context for expected input.
Hint is optional and provides additional guidance or examples.
Counter is optional and shows character limits or current count.
Icon is optional and should only be used when it provides additional benefit.

textarea/label

Input Values

Input value displays the user's entered text or data.
Placeholder is optional and provides example formatting or expected content.

textarea/values

States

Textareas have multiple interactive states:

Default for standard input appearance
Hover for interactive feedback when users engage with the field
Error for validation failures requiring user attention

textarea/states

Disabled

Disabled textareas show that a field exists but isn't currently available for input, e.g. when certain conditions haven't been met or the field is temporarily unavailable.

textarea/disabled

 


 

Best Practice & Usage

Textareas should provide clear context through labels and adapt to content length whilst maintaining usability.

Use textareas specifically for multi-line content where users need space for detailed responses.

input/usage/do-label
input/usage/don't-noLabel
textarea/Usage/DO-text
textarea/Usage/DONT-name
textarea/Usage/DO-large
textarea/Usage/DONT-input
textarea/Usage/DO-error
textarea/Usage/DONT-textarea
textarea/style/do
textarea/style/dont

 


 

Theming

You can customise colours, border width and radius, font styles and weights, spacings and sizes to match your design requirements.