Textarea

A multi-line text input for longer form content.

Import

Usage

Textarea Props

AttributeTypeDefaultDescription
placeholderstring-Placeholder text for the textarea.
disabledbooleanfalseWhether the textarea is disabled.
valuestring-The controlled value of the textarea.
onChange(event: ChangeEvent<HTMLTextAreaElement>) => void-Callback when the textarea value changes.
rowsnumber-Number of visible text rows.
classNamestring-Additional CSS classes for styling.