With label and hint
Preview
Code
Markdown is supported.
Installation
Package
CLI (copy source)
pnpm
pnpm add @advui/corenpm
npm install @advui/coreUsage
import { Textarea } from '@advui/core'
<Textarea aria-label="Message" placeholder="Type your message…" />API reference
Textarea
| Prop | Type | Default | Description |
|---|---|---|---|
invalid | boolean | false | Error styling + `aria-invalid`. |
disabled | boolean | false | Prevents editing. |
resize | 'none' | 'vertical' | 'vertical' | User resizing (web only). |
rows | number | — | Initial visible lines (web). |
Accessibility
- Pair with a
Labeloraria-label. - Use
aria-describedbyto link helper or error text.
Platform notes
Web
Renders a native
<textarea>.iOS
Multiline
TextInput; text aligns to the top.Android
Multiline
TextInput with textAlignVertical="top".