TextArea

Multi-line text input for longer form content. Uses native textarea element with token-based styling.

Anatomy

1
  1. 1 Container — bordered text area with padding and border radius

Options

States

Default
Hover
Focus
Disabled

Table of options

PropertyValuesDefault
placeholdertext
valuetext
rowsnumber3 (via min-height)
disabledtrue / falsefalse
readonlytrue / falsefalse

Behaviors

Vertical resize

Users can resize the textarea vertically by default. Disabled and readonly states prevent resizing.

Keyboard interactions

KeyAction
TabMoves focus to/from the textarea
EnterInserts a new line

Accessibility

  • Uses native <textarea> element — inherits all built-in accessibility.
  • Always pair with a visible <label> or aria-label.
  • Placeholder text is not a substitute for a label.

Design checklist

All color themesWorks across light and dark modes.
Defined optionsStates and properties documented.
Keyboard interactionsNative textarea behavior.
Design tokensComponent-scoped tokens (--textarea-*).