> For the complete documentation index, see [llms.txt](https://learn.mondayhero.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.mondayhero.io/v1-mac-app/working-with-monday-hero/component-convert-to-ios-android-code/convert-text-area-to-ios-android-code.md).

# Convert to Text Area

## TextView/Text to Code

Text View allows the user to enter **more than one line** of text. A textView image is and its code is shown below.

![A Text View Example](/files/-MGsAY-is6wUB907gj3K)

While creating the component, you can add **text** into TextView to inform on Monday Hero.

<div align="center"><img src="/files/-MKodWYyvaehCNvJes1L" alt="TextView Monday Hero Selections"></div>

### Generated iOS/Android Code of TextView

{% tabs %}
{% tab title="iOS" %}

```swift
//HomePageViewController.swift 
import UIKit

class HomePageViewController: UIViewController {

//Connection from an Interface Builder to a UI component
@IBOutlet private weak var addNotesTextView: UITextView!

	override func viewDidLoad() {
		super.viewDidLoad()
		setupViews()
	}
}

extension HomePageViewController {
	private func setupViews() {
		//TextView properties
		addNotesTextView.backgroundColor = UIColor.daisy2
		addNotesTextView.text = NSLocalizedString("add.note.here", comment: "")
		addNotesTextView.textColor = UIColor.spruce_40
		addNotesTextView.font = UIFont.textStyle5
		addNotesTextView.textAlignment = .left
			}
}		
```

{% endtab %}

{% tab title="Android" %}
Android does not have a separate component for Text Areas, the same code is used for the [Texts](/v1-mac-app/working-with-monday-hero/auto-component-code-generation/design-to-text-code.md) are also used for Text Areas.&#x20;

{% content-ref url="/pages/-MKAkeUaR98eGvVIsvk-" %}
[Texts](/v1-mac-app/working-with-monday-hero/auto-component-code-generation/design-to-text-code.md)
{% endcontent-ref %}
{% endtab %}
{% endtabs %}
