<Textarea />
Multi-line text input component for Auxx app dialogs.
A multi-line text input for longer content.
import { Textarea } from '@auxx/sdk/client'
<Textarea placeholder="Write your message..." rows={4} />
<Textarea value={notes} onChange={(e) => setNotes(e.target.value)} />For form-based textareas with validation, use FormField with Forms.string().multiline().
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | string? | — | Controlled value |
placeholder | string? | — | Placeholder text |
disabled | boolean? | false | Disable the textarea |
name | string? | — | Form field name |
rows | number? | — | Number of visible text lines |
onChange | (event: ChangeEvent) => void | — | Change handler |