Skip to content
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

PropTypeDefaultDescription
placeholderstring—Placeholder text shown when the textarea is empty.
disabledbooleanfalseWhen true, prevents interaction and reduces opacity.
rowsnumber—Native rows. The box grows with its text from an 80px floor to 18 lines, so rows sets nothing where `field-sizing` is supported; a fixed `h-*` class still holds it.
classNamestring—Additional CSS classes to apply to the textarea element.