Saltearse al contenido

Textarea

Esta página aún no está disponible en tu idioma.

A simple textarea component with support for easy labels and placeholders.

You can disable the textarea altogether by using the disabled prop.

Textareas have full form support. You can use the isRequired and name attributes as needed.

The first one does what it says it does, while the latter sets the name attribute so you can access the textarea in, for example, the FormData returned by a submission. Here’s an example showing how to set both of them: