deprecated
Forma 36 version 3 is not supported anymoreClick here to go to version 4
Forma 36

Textarea

StorybookGithub
stable

Textarea is a form element that allows the user to enter a sizeable amount of multi-line plain text.

Table of contents

How to use Textarea

Textarea is a form element, it should be used within the context of <Form> It can be configured in a number of different ways; use this guide to determine the best configuration based on the context.

Code examples

Textarea state (disabled)

Textarea can be controlled by passing a textareaRef prop

Accessibility

  • To ensure accessibility, provide a name prop
  • Always feedback the user if the Textarea is a required field