FormsUpdated May 3, 2026

TextArea

A multi-line text input with controlled resize behavior.

#Default usage

Default textareaVertical resize is enabled by default.

#Usage

Code
import { TextArea } from "@froggdesign/enter-ui";

export function Example() {
  return (
    <TextArea aria-label="Release notes" defaultValue="Refined docs, component coverage, and product surface examples." rows={5} />
  );
}

#Patterns

Invalid stateInvalid state stays clear without becoming visually brutal.

#Accessibility

TextArea renders a native textarea. Pair it with Label or Field and use FieldError for semantic error text.

#API

  • invalid toggles invalid styling and aria state.
  • resize: vertical, horizontal, both, or none.
  • All native textarea props are supported.

#Styling

Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.