Textarea
Multi-line text field with the same label/description/error accessibility wiring as Input.
<Textarea label="Description" placeholder="What does your team do?" className="ui-w-72" />
Editable — change the code above and the preview updates live.
Installation
import { Textarea } from "@labanaat/ui/textarea";Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | Field label |
| hideLabel | boolean | false | Visually hides the label while keeping it accessible |
| description | string | — | Helper text shown below the field |
| error | string | — | Error message; sets aria-invalid |
| rows | number | 4 | Visible row count |