Textarea

A multi-line field that grows with its text.

Installation

Examples

Default

demo.tsx

Long text

It starts 80px tall and grows with each line; drag its corner to resize it.

grow.tsx

Invalid

aria-invalid rings it red, as on an Input.

invalid.tsx

Anatomy

Each part's data-slot, which a theme styles, is beside it.