ComponentsTextarea

formstexulinot agent-emittableapp

Textarea

textarea

A multi-line text control with optional autosize.

Live examples

Autosize textarea

Autosize textarea

Loading demo…

Props

Public props for Textarea
NameKindRequiredDefaultDescription
valuestringno——
refunknownno——
autosizebooleannofalse—
disabledbooleannofalse—
readonlybooleannofalse—
rowsnumberno3—
onValueChangeeventno——
classstringno——

Keyboard

Keyboard behavior for Textarea
KeyAction
—See accessibility notes for keyboard behavior.

Accessibility

  • Pair with Field or an external label; autosize disables manual resize.

Evidence for textarea

Latest committed gates for textarea (as of 2026-10-23). Static snapshot — not live CI.

Behavior

n/ano behavior scenario

No dedicated behavior scenario for this catalog id (a styled or display surface, covered by its unit and axe tests).

Size (gzip)

texuli/textarea · budget 12.0 KiB

Budget from texuli.budgets.json; re-measure with `pnpm size --filter <entry>`.

Axe

documented

  • tests/e2e/site-component-pages.spec.ts
  • docs/quality (a11y-*)

Site component pages axe gate; package-level a11y docs under docs/quality when present.

Browsers

  • chromium
  • webkit
  • mobile

Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.

When to use

Use when

  • Longer free-text fields (notes, comments, descriptions)

Don’t use when

Prefer another component

  • A single-line value (use input)