Textarea
A styled native <textarea> for longer freeform input. Pass label / description (or help) to compose field helpers automatically.
Usage
Short and clear works best.
Control only
Skip the progressive props when you want the bare control for custom layouts.
With field helpers
Prefer the prop API for typical forms. Compose manually when you need custom layout:
Short and clear works best.
Rounded styles
Invalid state
Props
| Prop | Type | Default | Description |
|---|---|---|---|
name |
string |
— | Input name (also via HTML attribute) |
errorKey |
string |
— | Override validation key for error wiring |
rows |
int |
4 |
Visible line count |
rounded |
none, sm, md, lg, xl, full |
md |
Border radius |
label |
string |
— | Compose a field-label automatically |
description |
string |
— | Compose a field-description automatically |
help |
string |
— | Alias for description (2.x compatibility) |
errorMessage |
string |
— | Compose a field-error with this message |
All standard HTML attributes (disabled, required, wire:model, maxlength, etc.) pass through via $attributes.