Textarea Field Input
Textarea Field Input: Multiline field with live character count, max length guard, resize support, and the same label/hint/error pattern as text fields. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Textarea Field Input
npx motion-ui-skill add textarea-field-inputComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Textarea Field Input
Multiline field with live character count, max length guard, resize support, and the same label/hint/error pattern as text fields.
Install
npx motion-ui-skill add textarea-field-input
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { TextareaFieldInput } from "@/components/inputs/textarea-field-input";
export function TextareaFieldInputDemo() {
return (
<div className="flex items-center justify-center p-6">
<TextareaFieldInput />
</div>
);
}
API Reference
TextareaFieldInput
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |