Component (RN)
React Native Component Status
Component (RN)
React Native Component Status
Figma (RN)
Figma Component Status
Code (Web)
HTML/CSS Code
Figma (Web)
Figma Component Status
Use a textarea to collect multi-line text data from users.
<label for="more-detail">Can you provide more detail?</label>
<p id="helper-text>Do not include personal or financial information, like your National Insurance number or credit card details.</p>
<textarea aria-describedby="helper-text" id="more-detail" name="more-detail" rows="5"></textarea>
Textareas can be used on forms standalone or as part of longer form.
It is best practice to include instructions as helper text, not as placeholders, so that the guidance is available as the user starts to input data.
Textareas act like other inputs, the user can click or tab into the input and enter data. Textareas can be set to be resizeable or not, giving the user control of the area they wish to enter data.
<label for="more-detail">Can you provide more detail?</label>
<p id="helper-text>Do not include personal or financial information, like your National Insurance number or credit card details.</p>
<p id="error-msg">Enter more detail</p>
<textarea aria-describedby="error-msg" id="more-detail" name="more-detail" rows="5"></textarea>
A code example of textarea.