Textarea

Multi-line text input.

Quick Preview

Usage

<Textarea placeholder="Add notes" />

Examples

Sizes

Use size to adjust minimum height, padding, and text scale.

Props

Prop/APITypeDefaultDescription
size`"sm""md""lg"`
classNamestring-Local layout or spacing overrides.
native/root propsReact component props-Passed through to the underlying root or primitive.

Accessibility

  • Provide visible labels or accessible names for interactive controls.
  • Preserve the component-provided focus, keyboard, disabled, and invalid-state behavior.
  • Do not communicate state with color alone; include text, icons, or helper copy.

On this page