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 textareaThe file is written into your project. It is yours from then on — change it as you like.
Props
| Prop | Type | What it does |
|---|---|---|
| Textarea.rows | number | How tall it starts. |
| Textarea.disabled | boolean | Greys 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>.