Information

You appear to be using an unsupported browser, and it may not be able to display this site properly. You may wish to upgrade your browser.

Textarea

A form field that allows users to enter multiple lines of text.

Sample HTML

<label class="ds_label" for="description">Description</label>
<textarea class="ds_input" rows="3" id="description" name="description"></textarea>

We based our textarea component on the one built by GDS. Find out more about the textarea component on GOV.UK’s Design System.

Website analytics

Content of this form element would not be routinely tracked through website analytics due to the risk of gathering personally identifiable information. Interaction with the element can be tracked through a data attribute showing the the field type and field description.

The data attribute is added automatically by the Design System’s ‘tracking’ script.

Back to top