
Description
react-autosize-textarea is a light React component that replaces the built-in textarea and automatically adjusts its height to fit the content as the user types. The project says it is perfectly compatible with React's default textarea, so you can swap it in for an existing one and keep the same props and behaviour. It does not need a polyfill. The README includes install instructions, a live demo, a usage section explaining how to replace a textarea, a props section, and a browser compatibility section. Because it is a drop-in replacement, you can apply it across a form or a comment box without changing the code that reads its value. It suits React developers who want a text field that grows with the text, such as chat inputs, comment boxes or note fields, without writing resize logic by hand.…
Highlights
- Drop-in replacement for the React textarea
- Grows with the content
- No polyfill needed
- Live demo and props documentation
Ratings & Reviews
No ratings yet
Be the first to rate react-autosize-textarea.
People also visit

@webscopeio/react-textarea-autocomplete
Offers autocomplete over textarea in style of GitHub

rich-textarea
A small customizable textarea for React to colorize, highlight, decorate texts

react-contenteditable
React component representing an element with editable contents
react-autosize-textarea FAQ
What does react-autosize-textarea do?
It replaces the React textarea with one that resizes its height to match the content.
Do I need to change my code?
The README says it is perfectly compatible with the default textarea, so you can swap it in.
Does it need a polyfill?
No. The README says it does not require any polyfill.
Is there a demo?
Yes. The README links to live examples.
How do I install it?
Follow the install section of the README.
What are the best react-autosize-textarea alternatives?
Popular alternatives to react-autosize-textarea include react-textarea-autosize, react-textarea-autosize and react-input-autosize. See all react-autosize-textarea alternatives















