Textarea
ReadyMulti-line text entry.
Installation
$ npx @oratiq-js/ui add textareaCopies the component and everything it depends on into your project, then lists the npm packages to install. The code is yours after this.
Usage
import
import { Textarea } from "@/components/ui/textarea";Default
Auto-resize and character count
States
Props
| Prop | Type | Default | Description |
|---|---|---|---|
autoResize | boolean | false | Grows with content instead of scrolling. |
showCount | boolean | false | Renders a live character count. |
maxLength | number | — | Caps input and forms the denominator of the count. |
View source on GitHub → components/ui/textarea.tsx