Skip to content

🎥 Make videos programmatically with React

shorten docs

Jonny Burgeraf5cd913b256
diff --git a/packages/docs/docs/zod-types/z-textarea.md b/packages/docs/docs/zod-types/z-textarea.md
index 4e74000552..f05c4eb520 100644
--- a/packages/docs/docs/zod-types/z-textarea.md
+++ b/packages/docs/docs/zod-types/z-textarea.md
@@ -3,16 +3,13 @@ image: /generated/articles-docs-zod-types-z-textarea.png
title: zTextarea()
---
-Using `zTextarea()`, you can specify in your [schema](/docs/schemas) a string must be a textarea in order to have
-several lines.
+Using this type you can specify in your [schema](/docs/schemas) a string that will be displayed in the Remotion Studio as a multiline text area.
-In the Remotion Studio, a textarea will be displayed allowing to change the value to have several lines or long text.
+When using `zTextarea()`, the value will be a string, even if the user enters several lines.
-:::tip
-When using `zTextarea()`, the value will be a string, even if the user enters several lines. To display the value in a
+To display the value in a
component without losing the line breaks, you can use the `white-space: pre-line` CSS property on the element
displaying the value.
-:::
## See also