Textarea
A multi-line field on the native textarea — grows with the text, counts characters, looks like every other field.
Basic
txTextarea on a native textarea; rows sets the starting height.
Auto resize
autoResize grows the field with the text instead of scrolling. maxHeight stops it at a height in px.
Max rows
maxRows limits growth by rows; (heightChange) reports the new height.
Height: NaNpx
Resize
resize controls the native handle: vertical (default), none, horizontal or both.
Counter
<tx-textarea-counter [for]="ref"> shows length / maxlength and turns red at the limit. The browser enforces maxlength itself.
Borderless
borderless drops the border and background — for notes, comments and inline editing. Focus still shows a ring.
Variants
outlined (default) or filled, like every field.
States
Native readonly and disabled.
Sizes
small, medium and large.
Form
With a form control inside tx-field: the label, the error and the invalid state come for free.
Design tokens
[dt] changes the textarea tokens, [fieldDt] the shared formField tokens.