Skip to main content

Anatomy

Anatomy Image
  1. Container
  2. Input text

Default Values

AttributeTokenValue
Container
Padding (left and right)textarea-padding-x-medium0.5rem
Padding (top and bottom)textarea-padding-y-medium0.5rem
Border widthtextarea-border-width1px
Border radiustextarea-radius3px
Border colortextarea-color-border-default#2b659b
Background colortextarea-color-background-default#101923
Label
Font familyfont-control-body-1-font-family‘Roboto’, -apple-system, BlinkMacSystemFont, ‘Segoe UI’, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif
Font sizefont-control-body-1-font-size1rem
Font weightfont-control-body-1-font-weight400
Line heightfont-control-body-1-line-heightcalc(20 / 16)
Letter spacingfont-control-body-1-letter-spacing0.005em
Text colortextarea-color-text-default#ffffff

States

Default Textarea
Hover Textarea
Invalid Textarea
Disabled Textarea
Focus Textarea

Default

AttributeTokenValue
Container
Border colortextarea-color-border-default#2b659b

Hover

AttributeTokenValue
Container
Border colortextarea-color-border-hover#92cbff

Invalid

AttributeTokenValue
Container
Border colortextarea-color-border-invalid#ff3838

Disabled

AttributeTokenValue
Container
Opacityopacity-disabled40%

Focus

AttributeTokenValue
Container
Outlinefocus-outline1px solid #da9ce7
Outline Offsetfocus-offset0.125rem

Sizes

Textarea Size Small
Textarea Size Medium
Textarea Size Large

Small

AttributeTokenValue
Container
Padding (left and right)textarea-padding-x-small0.5rem
Padding (top and bottom)textarea-padding-y-small0.25rem

Medium

AttributeTokenValue
Container
Padding (left and right)textarea-padding-x-medium0.5rem
Padding (top and bottom)textarea-padding-y-medium0.5rem

Large

AttributeTokenValue
Container
Padding (left and right)textarea-padding-x-large0.5rem
Padding (top and bottom)textarea-padding-y-large0.75rem

Variants

Input Placeholder

Placeholder Text

AttributeTokenValue
Container
Text colortextarea-color-text-placeholder#a4abb6
Feedback

Help us improve Astro

Please rate your present experience with Astro:

Cancel