Textarea

Free

Enhanced textarea with auto-resize, character counting, validation states, multiple variants, and a loading indicator.

Installation

Install via CLI

npx @moontra/moonui-cli add textarea

Usage

Examples

Basic Textarea

Simple textarea with placeholder

Variants

Four visual styles: default, outline, ghost, and underline

Sizes

Small, medium, and large sizes

Auto-resize & Character Count

Grow height with content up to maxHeight, with a live character count

0 / 300

States

Error, success, loading, and disabled states with messages

This field is required

Looks good!

Form Integration

Textarea in a form with character count

0 / 500