# Upstage Design System — Textarea (product)

- context: product · group: forms
- source revision: lift-1.2.3 (Lift 1.2.3, zip sha256 8d5d9377c2b4…)
- status: content source-derived · availability implemented · verification static-only
- human docs: /ko/components/product/textarea/ · machine doc: /agent/components/product/textarea.md

## Required references (read these)
- /components/forms/Textarea.jsx — implementation · sha256 5382f78c963b…
- /components/_types.d.ts — api · key TextareaProps
- /components/forms/Textarea.prompt.md — usage-note · sha256 197f077c5bf2…
- /kit/rules/a11y-contract.json — a11y · key Textarea

## API (components/_types.d.ts TextareaProps)
- rows?: number (default 4)
- invalid?: boolean (default false)
- disabled?: boolean (default false)
- autoGrow?: boolean (default false)
- maxLength?: number
- showCount?: boolean (default false)
- value?: string
- defaultValue?: string
- onChange?: (e: any) => void
- placeholder?: string
- style?: React.CSSProperties
- extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> (other props pass through)

## Accessibility contract
- keys: -
- aria: aria-invalid, aria-describedby(counter)
- notes: 카운터는 aria-live=polite

## Unverified
- Browser behaviour is not verified here (static source check only).

## Usage note (original, MIX)

Multi-line input. `autoGrow` for prompt/message fields, `showCount` with `maxLength` when the limit matters to the user.

### 1.9.4 상태·접근성 계약


C1은 --text-c1. 정상/오류 glow를 유지하고 소비자 이벤트와 aria-describedby를 내부 처리/카운터와 병합한다.

## Examples (from the usage note)

```jsx
<Textarea autoGrow placeholder="시스템 프롬프트" maxLength={2000} showCount />
<Textarea invalid rows={3} defaultValue="잘못된 JSON" />
```
