Textarea
textareaA 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.
import { Textarea } from "@/components/forme/textarea/textarea";
export function TextareaDemo() {
return (
<div className="flex w-full max-w-md flex-col gap-6">
<Textarea
label="Release notes"
placeholder="What changed in this version?"
description="Markdown is supported. The field grows as you write."
maxLength={280}
showCount
defaultValue="Adds a calendar, a data table and stacked toasts."
/>
<Textarea label="Feedback" error="Tell us a little more — at least 20 characters." />
</div>
);
}Install
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.
| Prop | Type | Default | Description |
|---|---|---|---|
label* | string | — | |
description | ReactNode | — | |
error | string | — | |
showCount | boolean | — | Shows a live count against maxLength, which turns amber at 90%. |
Also takes every prop of <textarea> attributes.
Related


Calendar
A month grid for a single date or a range, with no date library. Full WAI-ARIA keyboard support, min, max and disabled days, a range that previews under the pointer, and a fixed six-week height so nothing below it jumps.
inputs

File Dropzone
A drop target that is also a real file picker, so click, keyboard and drag all work. Checks type and size on drop as well as in the picker, and reports each rejected file by name.
inputs

Input
A text field with a real label, optional description, an error that is announced and wired up with aria-describedby, and room for an icon on either side. Sizes and the invalid state come from the same tokens as every other Forme surface.
inputs