Skip to main content

zTextarea()

Using this type you can specify in your schema a string that will be displayed in the Remotion Studio as a multiline text area.

When using zTextarea(), the value will be a string, even if the user enters several lines.

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.

Compatibility​

BrowsersServersEnvironments
Chrome
Firefox
Safari
Node.js
Bun
Serverless Functions

Schema validation works in all listed environments. The visual editor is only available in Remotion Studio.

See also​