Textarea

A multi-line text input with optional label, hint, and error messaging.

Installation

npx dafink-ui add textarea

Demo

Max 500 characters.

Props

NameTypeDefaultDescription
labelstring-Visible label rendered above the textarea.
placeholderstring-Placeholder text shown when the textarea is empty.
hintstring-Helper text rendered below the textarea when there is no error.
errorstring-Error message; switches the textarea to error state.
disabledbooleanfalseDisables the textarea.
classNamestring""Additional classes merged onto the textarea element.