Textarea

Several lines of anything.

Default

Four rows to start with, and free to grow from there.

The input's taller sibling, for a message rather than a name. It keeps the browser's resize handle, so the reader can make room when they need it.

Installation

npx philcn@latest add textarea

The file is written into your project. It is yours from then on — change it as you like.

Props

PropTypeWhat it does
Textarea.rowsnumberHow tall it starts.
Textarea.disabledbooleanGreys it out and takes it out of the tab order.

Types are read from the library itself, so this table cannot describe an option the code no longer has. Everything else you pass goes straight to the underlying <textarea>.