Textarea
A real <textarea> that grows with its content via field-sizing: content, instead of a JavaScript scrollHeight-measuring resize handler. Falls back to a manual resize handle in browsers that don't support it yet.
It grows as you type, no JavaScript resize handler.
Usage
import { Textarea } from "@kernelui/react";
<Textarea label="Feedback" description="What went wrong?" />Props
| Prop | Type | Default |
|---|---|---|
label | ReactNode (required) | — |
description | ReactNode | — |
errorMessage | ReactNode | — |
invalid | boolean | false |