# Textarea ## Examples ### Default ```html ``` ### WithLongText ```html ``` ### WithLongTextHorizontal ```html ``` ## Usage Use the Textarea for: - User Input of Multi-line Text: When users need to enter a long-form response, such as messages, comments, or detailed feedback. - Flexible Text Entry: When the amount of text entered is unpredictable, such as open-ended answers in forms. - Editing Content: When users need to edit or format existing text, such as in a note-taking or content management system. Do not use the Textarea for: - Short Inputs: Use a InputText -component for single-line inputs like names, email addresses, or phone numbers. - Structured Data Entry: If input needs to be formatted (e.g., dates, times, or passwords), use the appropriate specialized input type. ## Design Rationale Visual design and state variations follow the look and feel of the rest of the form elements for a consistent experience.