Textarea
Multi-line text input
UI PrimitiveForm Inputs
Overview
Extends the native <textarea> element. Supports auto-sizing via field-sizing-content, controlled and uncontrolled usage, and an optional character counter.
Usage
With character count:
0/200
Notes
- The component tracks value internally when used uncontrolled, to support
showCount. - Use
aria-invalidto activate the error ring style. - Dark mode is handled via semantic tokens.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
showCount | boolean | — | No |