Structure

The text represents a multi-line plain text, useful when you want to allow users to enter a sizeable amount of free-form text, for example, a comment on a review or feedback form.

textarea structure

Anatomy

textarea anatomy

PropertyTokenpxrem
Border radiusradii-040.25
Padding topspace $280.5
Padding leftspace $3120.75
Marginspace $3120.75

Typography

Typography refers to the visual presentation and arrangement of text within a textarea component. It involves decisions about font styles, sizes, line spacing, and other text-related properties that ensure readability and a harmonious visual appearance of the text within the input area.

textarea typography

ElementFamilyWeightSizeRempx
Label font$body600$sm0.87514
Description font$body400$sm0.87514
Description font$body400$md116

Variants & color

Color in a textarea component refers to the visual appearance of the text and background within the input area. It involves selecting appropriate text and background colors to ensure readability, visual contrast, and alignment with the overall design aesthetics of the user interface.

textarea default variant Default

PropertyTokenHex
Bg color$white#ffffff
Border-color$grey800#545454
Label font-color$grey900#333333
Description font-color$grey700#757575
Text font-color$grey1000#1F1F1F

textarea placeholder variant Placeholder

PropertyTokenHex
Bg color$white#ffffff
Border-color$grey800#545454
Label font-color$grey900#333333
Description font-color$grey700#757575
Placeholder font-color$grey700#757575

textarea focus variant Focus

PropertyTokenHex
Bg color$white#ffffff
Border-color$primary800#0F67F5
Label font-color$grey900#333333
Text font-color$grey1000#1F1F1F

textarea disabled variant Disabled

PropertyTokenHex
Bg color$grey200#EEEEEE
Border-color$grey800#545454
Label font-color$grey900#333333
Text font-color$grey1000#1F1F1F

textarea error variant Error

PropertyTokenHex
Bg color$grey200#EEEEEE
Border-color$danger#EE0505
Label font-color$grey900#333333
Text font-color$danger#EE0505
Error message font-color$danger#EE0505