Textarea
Usage
Include CSS
Import Tailwind and one full A3S UI style bundle.
Or import only the base CSS, Textarea component CSS, and one style pack.
Using CDN or bundler imports? See the Installation page.
Add your textarea HTML
Add class="textarea" to a <textarea> element. Textareas inside a class="field" container also receive the same styling automatically.
Use native HTML attributes for behavior: disabled for disabled textareas and aria-invalid="true" for invalid state styling.
Textareas support right-to-left layouts through native browser direction handling.
Examples
Field
Use field with a label and description to create an accessible textarea.
Write a short message.
Disabled
Invalid
Message is required.
Button
Form
RTL
Add dir="rtl" to the textarea, field, or an ancestor.
شاركنا أفكارك حول الخدمة.