> ## Content Index
> Fetch the complete content index at: https://getpublii.com/dev/llms.txt
> Use this file to discover other available public pages before exploring further.

# Textarea

- URL: https://getpublii.com/dev/textarea/
- Published: 2019-03-23T13:57:14.513Z
- Updated: 2025-01-18T21:08:12.757Z
- Description: The textarea field can be used when you want to allow user input more than one line of text. { "name": "copyrightNote", "label": "Copyright note",…
- Author: Tomasz Dziuda
- Tags: Fields, Theme Settings API

The textarea field can be used when you want to allow user input more than one line of text.

```json
{
    "name": "copyrightNote",
    "label": "Copyright note",
    "group": "Footer",
    "value": "",
    "type": "textarea",
    "rows": 50,
    "cols": 100,
    "disabled": false
}
```

Above code will generate the field available as **@config.custom.copyrightNote** under Footer tab in the theme's custom settings. The generated **textarea** element will have attributes **rows** and **cols** set to the provided values.

![Textarea](https://getpublii.com/dev/media/posts/111/textarea.svg)
