Components

Text Area

Text areas allow the user to enter multi-line text, such as comments or descriptions.

Stable
GitHub

Enter a brief description.

Anatomy

Anatomy
import {TextArea} from '@staffbase/design';

<TextArea />

Examples

Invalid

This field is required.

API reference

TextArea

Inherits props fromBase UI Input Root

Renders a multi-line text input. Combine with Field to provide accessible labels, descriptions, and errors.

Supports all Base UI Input props and native textarea attributes. The table below highlights commonly used props.

NameTypeDescription
rows
number
The number of visible text lines.