Search
Search components and blocks
Textarea
Grows with its content instead of scrolling, and the growth itself is a spring, not a snap — the auto-expanding field indie hackers reach for on feedback forms and prompt boxes.
Install
$ pnpm dlx shadcn@latest add @ditherui/textarea
Props
PropTypeDefault
autoResizebooleantrueplaceholderstring—disabledbooleanfalseWhen to use the textarea
Use it for feedback forms and prompt boxes. It grows with its content instead of scrolling.
Open the CLI tab on any preview above for the exact shadcn command. The source is copied into your project, so you can edit it like any other file.