A multi-line text input with controlled resize behavior.
TextArea defines how EnterUI handles a multi-line text input with controlled resize behavior, including default structure, accessible states, and token-driven styling.
Vertical resize is enabled by default.
<TextArea aria-label="Release notes" defaultValue="Refined docs, component coverage, and product surface examples." rows={5} />import { TextArea } from "@froggdesign/enter-ui-react";Invalid state stays clear without becoming visually brutal.
TextArea renders a native textarea. Pair it with Label or Field and use FieldError for semantic error text.
invalid toggles invalid styling and aria state.resize: vertical, horizontal, both, or none.Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.