---
group: Widgets
title: Text
weight: 25
---

- **Name:** `text`
- **UI:** Textarea
- **Data type:** `string`

The text widget takes a multiline text field and saves it as a string. For shorter text inputs, use the string widget.

## Widget options

For common options, see [Common widget options](/docs/widgets#common-widget-options).

| Name    | Type   | Default | Description                                                   |
| ------- | ------ | ------- | ------------------------------------------------------------- |
| default | string | `''`    | _Optional_. The default value for the field. Accepts a string |

## Example

```yaml
name: description
label: Description
widget: text
```