# Textarea ## Introduction A multi-line text field. ## Guidance Find out when to use the textarea component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/textarea). ## Quick start examples ### Textarea [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/textarea/preview) #### Markup
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | The id of the textarea |
describedBy | string | No | Text or element id to add to the `aria-describedby` attribute to provide description for screenreader users. |
name | string | Yes | The name of the textarea, which is submitted with the form data. |
rows | string | No | Optional number of textarea rows (default is 5 rows). |
value | string | No | Optional initial value of the textarea. |
label | object | Yes | Arguments for the label component. See label component. |
hint | object | No | Arguments for the hint component (e.g. text). See hint component. |
errorMessage | object | No | Arguments for the errorMessage component (e.g. text). See errorMessage component. |
classes | string | No | Optional additional classes to add to the textarea tag. |
attributes | object | No | Any extra HTML attributes (for example data attributes) to add to the textarea tag. |