Textarea

A multi-line text input field.

The Textarea captures multi-line text. It accepts all standard textarea attributes.

Preview

Usage

Installation

$ npx shadcn@latest add https://spark-ui-olive.vercel.app/r/textarea.json

Properties

PropTypeDefaultDescription
placeholderstringPlaceholder text shown when empty.
disabledbooleanfalseDisables the textarea.
classNamestringAdditional CSS classes.