Components / Textarea

Textarea

A native multiline control with optional content-driven resizing.

example.component.html
html
<textarea aevkoTextarea id="notes" [autoResize]="true">
</textarea>

Installation

npx aevko-ui@latest add textarea --yes

Source ownership

Customization

Use native rows and sizing constraints or enable content-driven resizing. Typography, minimum height and validation treatment are local CSS.

Edit locallyThe installed template and stylesheet are application code, not a black box.
Theme semanticallyOverride --aevko-* tokens or ordinary classes without !important.

API reference

Property or slotTypeDefaultDescription
invalidbooleanfalseWrites aria-invalid and applies invalid-state styling.
autoResizebooleanfalseGrows the control to fit its current content.
native attributesHTMLTextAreaElementbrowser defaultAccepts native textarea properties, events and Forms bindings.

Accessibility contract

Accessibility

Included behavior

  • Associate a label and describe format or limits with aria-describedby when needed.

Your responsibility

Associate a label and describe character limits or required formats through aria-describedby.

Back to all components