OOratiq

Textarea

Ready

Multi-line text entry.

Installation

$ npx @oratiq-js/ui add textarea

Copies 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

PropTypeDefaultDescription
autoResizebooleanfalseGrows with content instead of scrolling.
showCountbooleanfalseRenders a live character count.
maxLengthnumberCaps input and forms the denominator of the count.

View source on GitHub → components/ui/textarea.tsx