Skip to content
Browse docs and components

Textarea

textarea

A labelled multi-line field that grows with its content using CSS alone, with help text, an error state and an optional character count that warns as you near the limit.

Responsive

Install

$npxshadcnadd@forme/textarea

Adds the component, its registry dependencies, and the token stylesheet you import once.

API reference

Read from the source, so it is the API of the file you install. A prop marked * is required.

Textarea

A multi-line field that grows with its content.

PropTypeDefaultDescription
label*string—
descriptionReactNode—
errorstring—
showCountboolean—Shows a live count against maxLength, which turns amber at 90%.

Also takes every prop of <textarea> attributes.