🚧 This website is work in progress 👷
Menu
Bridge
Brand
Digital Assets
Foundations
Icons
Components
Templates
Resources
Design Tokens
How-tos
Best Practices
Libraries
Accessibility
Products List
Support
Overview
Actions
Overview
Button
ContextMenu
Link
Controls
Overview
Checkbox
Tag
Toggle
Forms
Overview
DatePicker
FileUploader
Input
NumberInput
RadioButton
Search
Select
Slider
TextArea
TextInput
Hooks
useIsomorphicLayoutEffect
useMediaQuery
useSettings
Navigation
Overview
AnchorNavigation
BannerNavigation
Breadcrumb
ContentSwitcher
Footer
InfoBar
MainNavigation
SecondaryNavigation
StepNavigation
SubNavigation
Overlay
Overview
Credits
Modal
Notification
Tooltip
Structure
Overview
Accordion
AuthLayout
Avatar
Callout
Card
Empty
Hero
InlineLoading
Item
List
Loading
mdxComponents
Module
Pagination
ReadMore
Story
Table
Tabs
Text
Unit
User
WFPCoreProvider
Wrapper
Components
Forms
Published
TextArea
Design
Code
Props
A
TextArea
component provides a resizable input field for multi-line text entry.
Anatomy
How to use
When to use
Use the Text Area component when users need to input or edit multi-line text, such as comments, descriptions, or messages.
Use it when you expect users to enter longer passages of text that may exceed the length of a single line input field.
When not to use
Avoid using the Text Area component for single-line inputs, such as names or email addresses, where a single-line input field is more appropriate.
Avoid using it for inputs with fixed or limited length text, as it may encourage excessive user input.
Consider to use in alternative
For short, single-line inputs, consider using the Text Input component.
For inputs requiring structured data, consider using specialized components like Date Picker or Select Menu.
Accessibility
Ensure the Text Area component is keyboard accessible, allowing users to navigate, select, and edit text using only keyboard inputs.
Implement proper labeling using
<label>
elements to associate the Text Area with its purpose, enhancing screen reader usability.
Provide clear and concise instructions or hints within or near the Text Area to assist users in understanding its purpose and expected input format.
On this page
Anatomy
How to use
Consider to use in alternative
Accessibility
References
Figma
Source
Storybook