Textarea

A multiline text input field.


labelText
required
disabled
onChange
onBlur

Props

NameTypeDefaultDescription

labelText

react node

Informs users what the corresponding input field is for.

helpText

string

Placed below the label to provide assistance on how to fill out a field or the expected format. It can also provide an explanation of why the information is needed and how it will be used.

placeholder

string

null

A hint to the expected format for the field. Not a replacement for a label.

errorMessage

string

Displays an error message and applies red style

required

boolean

Makes the field require selection before the form will submit.

requirementText

string

(Optional) or (Required).

disabled

boolean

false

Marks the field as disabled and disallows user input

onChange

function

Change event handler that will be run whenever the value of the input is updated.

onBlur

function

Change event handler that will be run whenever the input loses focus.

rows

number

3

A custom number of rows to show by default.

value

string

Value of input, used when controlling the component

defaultValue

string

Default value of input

id

string

A unique ID for this input

className

string

className passed to the wrapper element.

name

string

A unique name for this input

Related Components


The Nulogy Design System is maintained by the Design Ops team. Our mission is to help our teams build better interfaces faster. 🚀

Please reach out with any questions or requests.