@agala-labs/ui
Textarea
Captures multi-line plain text.
Examples
Default
<AgalaTextarea v-model="notes" :rows="5" placeholder="Add notes" />Import
import { AgalaTextarea } from '@agala-labs/ui'API
| Prop | Type | Default | Description |
|---|---|---|---|
modelValue | string | — | Value used by v-model. |
rows | number | — | Visible text rows. |
resize | 'none' | 'vertical' | 'both' | 'vertical' | Resize behavior. |
placeholder | string | — | Placeholder copy. |
error / errorMessage | boolean / string | — | Validation state and copy. |
disabled | boolean | false | Disables editing. |
Events
update:modelValue(value: string)
Accessibility
Pair with FormField for a persistent label and clear error relationship.