> For the complete documentation index, see [llms.txt](https://fig.gitbook.io/fig/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fig.gitbook.io/fig/interactive-runbooks-2/components/textbox.md).

# Textarea

A textarea is very similar to a [text input](/fig/interactive-runbooks-2/components/input.md) except uses a `$` rather than a `:`

`$[identifier: placeholder ]{ defaultvalue }`

### Examples

```
Commit Message
$[commit: Commit Message]{}

Git Commit History
$[log: Commit History]{ [ git reflog ] sh  }

Heroku Apps as JSON
$[heroku_apps: Heroku Apps as JSON]{ [ heroku apps --json ] sh  }  


**Commit MSG**: {{commit}}
**First Line of Git Reflog**: 
{{log.split("\n")[0]}}

**1st Heroku App Name**: {{ JSON.parse(heroku_apps)[0]["name"] }}
```

![](https://1545242415-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBzsiIfFzkblTOBPFTF%2F-MDDDxWjqxTGuyDW0szA%2F-MDDFmD88reTPN2VKXZM%2Fimage.png?alt=media\&token=88f59be1-86d3-47f8-9735-2d1a49bc3655)
