# Textarea

Multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form.

## Demo

{% demo 'A Textarea', 'edsTextareaDemo', demos.edsTextareaDemo, component.brand %}

## When to use this component


## When not to use this component


## How it works

### Installation

To install the components, [go to the get started guide for developers](https://github.com/springernature/elements).

To use the Textarea component, enter the following command in your Terminal:

```bash
npm install @springernature/elements
```

### Styles

Textarea in a form element. For a correct usage, import the styles of the Form component:

```scss
@import '../path/to/@springernature/elements/components/eds-c-form';
```

The Textarea component uses common input style rules defined in the Form component and doesn't have any specific styles. 

### Templates

Use the Textarea component together with the [EDS Form component](https://eds.springernature.com/components/springernature/eds-c-form/).

Use the [form template](https://github.com/springernature/elements/blob/main/components/eds-c-form/eds-c-form.hbs) and read the [schema file](https://github.com/springernature/elements/blob/main/components/eds-c-form/data/eds-c-form.schema.json).

You can pass the Textarea component in the inputs array as many times as you need.

### Configuration

#### Properties

For more detailed information on how to use the properties correctly, [go to the textarea schema file](https://github.com/springernature/elements/blob/main/components/eds-c-textarea/data/eds-c-textarea.schema.json).


## Help improve this page

If you’ve got a question, idea or suggestion about how to improve this component or guidance, 
post in the [#ask-elements](https://springernature.slack.com/archives/CNBTFLBLP) Slack channel.