Component

Textarea

Multi-line text input for longer content like comments and descriptions.

tsx
import { Textarea } from 'wss3-forge'

Usage

Use for multi-line text input

Set rows for initial height

Add maxLength for character limits

Use resize prop to control resizing


Examples

Basic Textarea

tsx
1<Textarea
2 label="Description"
3 placeholder="Enter description..."
4 rows={4}
5/>

With Character Limit

tsx
1<Textarea
2 label="Bio"
3 placeholder="Tell us about yourself..."
4 maxLength={200}
5 rows={3}
6/>

With Error

Comment is required

tsx
1<Textarea
2 label="Comment"
3 error="Comment is required"
4 rows={3}
5/>

Disabled

tsx
1<Textarea
2 label="Notes"
3 value="This field is disabled"
4 disabled
5 rows={2}
6/>

Previous

TagInput

Next

AppSidebar

Last updated: December 2025

Cookies

We use cookies to improve your experience and save your preferences.