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, month and year pickers, min, max and disabled days, a range that previews under the pointer or the keyboard, and a fixed six-week height so nothing below it jumps.
inputsColor picker
A full colour editor: a saturation and brightness area, hue and opacity rails, a hex field, numeric channels, screen sampling and preset swatches — all composed from parts, opened from a trigger chip that previews the value.
inputsColor selector
A row of colour swatches where exactly one is chosen. Real radio inputs inside a fieldset, so forms, required state, arrow keys and screen-reader grouping all work natively, and one selection ring hops between swatches.
inputs