@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
64 lines (35 loc) • 700 B
Markdown
---
id: Text area
section: components
subsection: forms
cssPrefix: pf-v5-c-form-control
propComponents: ['TextArea']
---
## Examples
### Basic
```ts file="./TextAreaBasic.tsx"
```
### Invalid
```ts file="./TextAreaInvalid.tsx"
```
### Validated
```ts file="./TextAreaValidated.tsx"
```
### Vertically resizable
```ts file="./TextAreaVerticallyResizable.tsx"
```
### Horizontally resizable
```ts file="./TextAreaHorizontallyResizable.tsx"
```
### Uncontrolled
```ts file="./TextAreaUncontrolled.tsx"
```
### Disabled
```ts file="./TextAreaDisabled.tsx"
```
### Read only
```ts file="./TextAreaReadOnly.tsx"
```
### Auto resizing
```ts file="./TextAreaAutoResizing.tsx"
```