Inputs
Textarea
A multi-line text field matching Input's styling and invalid-state contract.
TextareaPreview
Usage
tsx
import { Textarea } from "@vesture/react";
<Textarea rows={4} placeholder="Write a comment…" invalid={!!error} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| invalid | boolean | — | Sets aria-invalid. |
| ...rest | TextareaHTMLAttributes<HTMLTextAreaElement> | — | Spread onto the native <textarea>. |