Version 4 beta
Forma 36 v4 beta is availableClick here to go to the new version
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