Skip to main content
Design system

Input Text Area

A text area lets users enter long form text which spans over multiple lines.

Bundle size: 3.56 kB
Install:
npm install @washingtonpost/wpds-ui-kit
|Copy
Usage:
import { InputTextarea } from "@washingtonpost/wpds-ui-kit"
|Copy
Storybook:  View on Storybook
Source:  View on Github

Anatomy

Note: Image is not to scale

  1. Label
  2. Value
  3. Border
  4. Browser Default drag icon

Options

Resize

The text area can prevent reize by setting canResize to false.

Helper text

The text area has optional helper text.


Behavior

Default

The text area can resize by default.

Error

Success

Required


Guidance

Do not use textarea for single or short inputs

Textarea are for multiline text such as a sentence or a paragraph.

API Reference

Edit this page on GitHub.