# Textarea

A **Textarea** input provides a small, multi-line rich text editor with very basic formatting options:\
&#x20;bold, italic, underline, supertext, subtext, Link and very dear option Soft Hyphen (`&shy;`) for when you want to insert a "-" in long words that may or may not risk breaking your design on various screen sizes. For further elaboration read this [article](https://alpaco.email/blog/An-ode-to-Soft-hypen).

The input type also gives users access to an **Emoji dropdown** of various glyphs and icons to insert in their text.

Furthermore This input type has the option of creating a **Link style**, so you can inject the css styling for all links created in that textarea. These settings are found in the foldout called "Advanced" below each Textarea.\
\
Additionally we allow for **custom text stylings** in the options dropdown. This is particularly helpful for situations where you want to give the user an ability to use some custom text formatting, but only within the specific limits you set them to, for instance "*font-size:35px;".*\
In order to use this feature properly it's important that the CSS values are valid.

Works great for:

* Body/content texts

### Template editor

<div align="left"><figure><img src="https://4158541773-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUZwvCYi7VuSyayWGoc6M%2Fuploads%2FplchjPQgxjIYKuECTeiv%2FSk%C3%A6rmbillede%202025-02-11%20102128.png?alt=media&#x26;token=d97e3e6d-2f44-4484-8bae-b10ef196c9ba" alt=""><figcaption><p>This is how it looks in the Template Editor</p></figcaption></figure></div>

### Email editor

<div align="left"><figure><img src="https://4158541773-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUZwvCYi7VuSyayWGoc6M%2Fuploads%2FYTbtBXLiE8uLIEGgxtdw%2FSk%C3%A6rmbillede%202025-05-13%20153955.png?alt=media&#x26;token=fbb5349f-6d98-464c-be7e-fcb4edf01b7f" alt="" width="371"><figcaption><p>This is how it looks in the Email Editor</p></figcaption></figure></div>
