Forms
Textarea
A multi-line text input for longer form content. Supports all native textarea attributes with consistent styling.
Import
import { Textarea } from "@mikenotthepope/substrateui"Disabled
With Field
Max 500 characters.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
placeholder | string | — | Placeholder text shown when the textarea is empty. |
disabled | boolean | false | When true, prevents interaction and reduces opacity. |
rows | number | — | The number of visible text lines. |
className | string | — | Additional CSS classes to apply to the textarea element. |