UIComponentsReact
A text field of several lines that grows with its content.
Rendered by React 19.3.1
Installation
npx shadcn@4.23.0 add https://hamur.dev/r/react/textarea.jsonIt also adds utils. The app needs its setup first: Installation.
Usage
A plain textarea with the field classes: it takes the element's own props.
import { Textarea } from '@/components/ui/textarea'Examples
API reference
Textarea wraps no headless component of its own: its parts are elements with classes, and their props are the element's.